Open
Description
- List of all applications that have changed, our
application
label can be leveraged:argocd app list --selector=application=<name>
- Get diff for each of them:
argocd app diff <application-name> --hard-refresh --revision="${GITHUB_SHA}"
- Comment diff on pull-requests with actions/github-script (see also) (Be mindful diff may be too large for a GitHub comment)
If needed (our server is public), authentication should be performed with a project role JWT token (ARGOCD_AUTH_TOKEN
), see: