diff --git a/.github/workflows/flux-diff.yaml b/.github/workflows/flux-diff.yaml index 652fb3238263e..360207161e03d 100644 --- a/.github/workflows/flux-diff.yaml +++ b/.github/workflows/flux-diff.yaml @@ -86,17 +86,18 @@ jobs: # path: "${{ matrix.paths }}" # resource: "${{ matrix.resources }}" - - name: Checkout Live Branch + - name: Checkout PR branch uses: actions/checkout@v4 with: token: "${{ steps.app-token.outputs.token }}" - path: live + path: pr - - name: Checkout PR branch + - name: Checkout Live Branch uses: actions/checkout@v4 with: token: "${{ steps.app-token.outputs.token }}" - path: pr + ref: main + path: live - name: Diff Resources uses: docker://ghcr.io/allenporter/flux-local:main @@ -104,8 +105,8 @@ jobs: args: >- diff ${{ matrix.resources }} --unified 6 - --path-orig live/${{ matrix.paths }} --path pr/${{ matrix.paths }} + --path-orig live/${{ matrix.paths }} --strip-attrs "helm.sh/chart,checksum/config,app.kubernetes.io/version,chart" --limit-bytes 10000 --all-namespaces