This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from smallprogram/master
- Loading branch information
Showing
4 changed files
with
47 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ This action deletes older releases of given repo | |
Add following step to your workflow: | ||
|
||
```yaml | ||
- uses: dev-drprasad/[email protected].0 | ||
- uses: dev-drprasad/[email protected].1 | ||
with: | ||
repo: <owner>/<repoName> # defaults to current repo | ||
keep_latest: 3 | ||
|
@@ -50,6 +50,14 @@ To delete data that exceeds the specified number of days, please enter the numbe | |
|
||
Specifies whether to delete tags associated to older releases or not. Older tags without any associated releases will not be deleted | ||
|
||
#### `delete_prerelease_only` | ||
|
||
| required | default | | ||
| -------- | ------- | | ||
| false | false | | ||
|
||
Delete only prerelease | ||
|
||
#### `repo` | ||
|
||
| required | default | | ||
|
@@ -64,4 +72,7 @@ Repo name in the format of `<owner>/<repoName>`. Defaults to the repo that execu | |
| -------- | ------------ | | ||
| false | empty string | | ||
|
||
Specifies a pattern to match. If not specified then every release will be targeted. If specified then every release containing the pattern will be targeted. Use this option for example to remove old beta releases. | ||
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.*` | ||
|
||
### Flow Chart | ||
![http-bw](flowChart.svg) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters