forked from s00d/delete-older-releases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
28 lines (25 loc) · 785 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
name: Delete Older Releases and Tags Updated
description: delete older releases of any repo
author: jay2610
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
runs:
using: "node16"
main: "index.js"