Skip to content

ci: run argocd diff on app-of-apps on pull requests #1

ci: run argocd diff on app-of-apps on pull requests

ci: run argocd diff on app-of-apps on pull requests #1

Workflow file for this run

name: Argo CD
on:
pull_request:
branches:
- master
jobs:
diff:
name: Differences
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: clowdhaus/argo-cd-action@v2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
command: version
options: --client
- name: Gather differences in the app of apps
env:
ARGOCD_AUTH_TOKEN: ${{ secrets.ARGOCD_AUTH_TOKEN }}
run: |
argocd diff app-of-apps --revision ${{ github.sha }}