generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
31 lines (31 loc) · 878 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: 'Package Cleanup Action'
description: 'This cleans up packages for GitHub based on provided inputs.'
inputs:
packageOwner: # change this
required: true
description: 'Owner of the package'
packageName: # change this
required: true
description: 'Name of the package'
packageType: # change this
required: true
description: 'Type of the package (npm)'
default: 'npm'
deleteVersionRegex: # change this
required: true
description: 'Version regex to remove'
default: '.*SMA-.*'
maxAgeDays:
required: true
description: 'Clean packages older than X days'
default: 14
githubToken:
required: true
description: 'Github token'
dryRun:
required: true
default: 'true'
description: 'The packages list te delete will be printed. Nothing will be deleted!'
runs:
using: 'node16'
main: 'dist/index.js'