-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
45 lines (45 loc) · 1.37 KB
/
action.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "Devfile Registry Stack Deprecator"
description: "Action that deprecates inactive devfile registry stacks found insie a registry repo"
inputs:
registry_repo_token:
description: 'Token for the registry repo. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.'
required: true
debug_mode:
description: "Sets logging level to DEBUG [0/1]"
required: false
default: "0"
default_branch:
description: "Default branch of the registry repo"
required: false
default: "main"
deprecation_days_limit:
description: "Days of inactivity limit for deprecation"
required: false
default: "365"
pr_creation_limit:
description: "Limit of PRs created inside a single run"
required: false
default: "5"
registry_repo:
description: "The path of the registry github repo"
required: true
removal_days_limit:
description: "Days of inactivity limit for removal"
required: false
default: "365"
stacks_dir:
description: "Stacks dir path."
required: false
default: "stacks"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.registry_repo_token }}
- ${{ inputs.debug_mode }}
- ${{ inputs.default_branch }}
- ${{ inputs.deprecation_days_limit }}
- ${{ inputs.pr_creation_limit }}
- ${{ inputs.registry_repo }}
- ${{ inputs.removal_days_limit }}
- ${{ inputs.stacks_dir }}