forked from quizlet/argocd-diff-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
53 lines (53 loc) · 1.61 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
name: 'ArgoCD Diff'
description: 'Diffs all ArgoCD apps in the repo, and provides the diff as a PR comment'
author: 'Quizlet'
inputs:
argocd-server-url:
description: ArgoCD server url (without the protocol)
default: argo-cd-argocd-server.argo-cd
required: false
argocd-token:
description: ArgoCD token for a local or project-scoped user https://argoproj.github.io/argo-cd/operator-manual/user-management/#local-usersaccounts-v15
required: true
argocd-version:
description: ArgoCD Version
default: v1.6.1
required: false
github-token:
description: Github Token
required: true
argocd-extra-cli-args:
description: Extra arguments to pass to the argocd CLI
default: --grpc-web
required: false
plaintext:
description: Whether to use HTTPS
default: 'false'
required: false
environment:
description: Name of env to use in the diff title posted to the PR
default: legacy
required: false
collapse-diff:
description: 'Setting this to true sets the diff expandable in a dropdown in the PR comment'
default: 'false'
required: false
timezone:
description: 'Time zone to use in comment'
default: 'America/Los_Angeles'
required: false
timezone-locale:
description: 'Time zone locale to use in comment'
default: 'en-US'
required: false
diff-tool:
description: 'Diff tool to use'
default: 'diff -N -u'
required: false
tracking-label:
description: 'Label on which argocd tracks resources'
default: 'argocd.argoproj.io/instance'
required: false
runs:
using: 'node12'
main: 'dist/index.js'