diff --git a/.github/workflows/generate-diff.yml b/.github/workflows/generate-diff.yml index a3b01dd..b76aed0 100644 --- a/.github/workflows/generate-diff.yml +++ b/.github/workflows/generate-diff.yml @@ -16,6 +16,10 @@ jobs: pull-requests: write steps: + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@v45 + - uses: actions/checkout@v4 with: path: pull-request @@ -27,6 +31,7 @@ jobs: - name: Generate Diff run: | + docker build pull-request -t image docker run \ --network=host \ -v /var/run/docker.sock:/var/run/docker.sock \ @@ -35,7 +40,8 @@ jobs: -v $(pwd)/output:/output \ -e TARGET_BRANCH=${{ github.head_ref }} \ -e REPO=${{ github.repository }} \ - dagandersen/argocd-diff-preview:v0.0.23 + -e FILES_CHANGED="${{ steps.changed-files.outputs.all_changed_files }}" \ + image --debug - name: Post diff as comment run: | diff --git a/examples/helm/values/filtered.yaml b/examples/helm/values/filtered.yaml index b78ca22..a917832 100644 --- a/examples/helm/values/filtered.yaml +++ b/examples/helm/values/filtered.yaml @@ -1 +1 @@ -fullnameOverride: super-app-name +fullnameOverride: experiment