-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
61 lines (45 loc) · 2.38 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: 'ArgoCD Config Updater'
description: 'Updates ArgoCD config files by updating mutable git refs and Docker tag, and promoting values between environments'
author: 'Apollo GraphQL'
# Define your inputs here.
inputs:
api-cache:
description: 'Path to a file used to cache API calls (works well with actions/cache)'
files:
description: 'Glob pattern for files to search'
required: true
github-token:
description: 'GitHub token to read refs and trees; only needed if update-git-refs or generate-promoted-commits-markdown is set'
update-git-refs:
description: 'Update tracked gitConfig.ref fields'
default: 'false'
update-docker-tags:
description: 'Update tracked dockerImage.tag fields'
default: 'false'
artifact-registry-repository:
description: 'If update-docker-tags or generate-promoted-commits-markdown is set, must be set to a string of the form `projects/PROJECT/locations/LOCATION/repositories/REPOSITORY`'
update-docker-tags-for-artifact-registry-repository:
description: 'DEPRECATED: equivalent to setting artifact-registry-repository and update-docker-tags'
update-promoted-values:
description: 'Process promote instructions'
default: 'false'
promotion-target-regexp:
description: 'Only process promote instructions for targets matching this regexp'
parallelism:
description: 'How many files to process in parallel'
default: '1'
generate-promoted-commits-markdown:
description: 'Generates the promoted-commits-markdown output'
default: 'false'
link-template-file:
description: 'If provided, a path to a YAML file mapping from template names to link templates. A template is a `text` and an `url`, each of which is a list of objects, each of which is of the form `{literal: "literal text"}` or `{variable: "variable-name"}.'
frozen-environments-file:
description: 'If provided, a path to a YAML file listing environment names where track and promote blocks are ignored'
outputs:
suggested-promotion-branch-name:
description: 'A combination of the promotion-target-regexp and files inputs with special characters changed to underscores; appropriate for constructing a branch name'
promoted-commits-markdown:
description: 'Markdown describing the commits being promoted, if update-promoted-values and generate-promoted-commits-markdown are set.'
runs:
using: node20
main: dist/index.js