forked from dev-drprasad/delete-older-releases
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
31 lines (28 loc) · 841 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Delete Older Releases updated
description: delete older releases of any repo
author: s00d
branding:
color: red
icon: delete
inputs:
keep_latest:
description: how many latest releases to keep
required: true
repo:
description: repo name in the form of <owner>/<repoName>
required: false
delete_tags:
description: whether to delete tags associated to older releases or not
required: false
delete_tag_pattern:
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.
required: false
delete_type:
description: release or prerelease
required: false
delete_branch:
description: delete branch
required: false
runs:
using: "node16"
main: "index.js"