You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This action deletes older releases of given repo
5
5
Add following step to your workflow:
6
6
7
7
```yaml
8
-
- uses: dev-drprasad/delete-older-releases@v0.3.1
8
+
- uses: dev-drprasad/delete-older-releases@v0.3.2
9
9
with:
10
10
repo: <owner>/<repoName> # defaults to current repo
11
11
keep_latest: 3
@@ -74,6 +74,14 @@ Repo name in the format of `<owner>/<repoName>`. Defaults to the repo that execu
74
74
75
75
Specifies a release **tag** (not title) Regex string pattern to match. If not specified, then every release will be targeted. If specified, then every release containing the pattern will be targeted. Examples, `beta`, `^v2\..*-beta$`, `v3\.0.*`
76
76
77
+
#### github_rest_api_url
78
+
79
+
| required | default |
80
+
| -------- | ------------ |
81
+
| false |api.github.com|
82
+
83
+
Github rest api url, the default is "api.github.com". If you are an enterprise user, you can replace it with "{your-github-enterprise-url}/api/v3". Please refer to: https://docs.github.com/en/enterprise-cloud@latest/rest
Copy file name to clipboardExpand all lines: action.yml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,10 @@ inputs:
31
31
delete_tag_pattern:
32
32
description: part of the tag name. Example, if you want to delete 0.0.1-beta and 0.0.2-beta but not 0.0.1 then set this to just "beta". If not set then it will target all releases.
33
33
required: false
34
+
github_rest_api_url:
35
+
description: the URL of the GitHub Rest API to be used. This might need to be different if you are a GitHub Enterprise user.
0 commit comments