diff --git a/.github/workflows/flux-diff.yaml b/.github/workflows/flux-diff.yaml index d325b68d6a3ea..ef1ab8286d90f 100644 --- a/.github/workflows/flux-diff.yaml +++ b/.github/workflows/flux-diff.yaml @@ -12,11 +12,11 @@ concurrency: cancel-in-progress: true jobs: - changed-files: - name: Changed Files + changed-clusters: + name: Changed Clusters runs-on: ubuntu-latest outputs: - matrix: ${{ steps.changed-files.outputs.all_changed_and_modified_files }} + matrix: ${{ steps.changed-clusters.outputs.all_changed_and_modified_files }} steps: - name: Generate Token uses: actions/create-github-app-token@v1 @@ -31,8 +31,8 @@ jobs: token: "${{ steps.app-token.outputs.token }}" fetch-depth: 0 - - name: Get Changed Files - id: changed-files + - name: Get Changed Clusters + id: changed-clusters uses: tj-actions/changed-files@v41 with: files: kubernetes/** @@ -41,18 +41,18 @@ jobs: json: true escape_json: false - - name: List All Changed Files - run: echo "${{ steps.changed-files.outputs.all_changed_and_modified_files }}" + - name: List All Changed Clusters + run: echo "${{ steps.changed-clusters.outputs.all_changed_and_modified_files }}" flux-diff: name: Flux Diff runs-on: ubuntu-latest - needs: ["changed-files"] + needs: ["changed-clusters"] permissions: pull-requests: write strategy: matrix: - paths: ${{ fromJSON(needs.changed-files.outputs.matrix) }} + paths: ${{ fromJSON(needs.changed-clusters.outputs.matrix) }} resources: ["helmrelease", "kustomization"] max-parallel: 4 fail-fast: false diff --git a/.github/workflows/flux-image-test.yaml b/.github/workflows/flux-image-test.yaml index d12a69301d9dc..7e95c96a88b82 100644 --- a/.github/workflows/flux-image-test.yaml +++ b/.github/workflows/flux-image-test.yaml @@ -12,11 +12,11 @@ concurrency: cancel-in-progress: true jobs: - changed-files: - name: Changed Files + changed-clusters: + name: Changed Clusters runs-on: ubuntu-latest outputs: - matrix: ${{ steps.changed-files.outputs.all_changed_and_modified_files }} + matrix: ${{ steps.changed-clusters.outputs.all_changed_and_modified_files }} steps: - name: Generate Token uses: actions/create-github-app-token@v1 @@ -31,8 +31,8 @@ jobs: token: "${{ steps.app-token.outputs.token }}" fetch-depth: 0 - - name: Get Changed Files - id: changed-files + - name: Get Changed Clusters + id: changed-clusters uses: tj-actions/changed-files@v41 with: files: kubernetes/** @@ -41,18 +41,18 @@ jobs: json: true escape_json: false - - name: List All Changed Files - run: echo "${{ steps.changed-files.outputs.all_changed_and_modified_files }}" + - name: List All Changed Clusters + run: echo "${{ steps.changed-clusters.outputs.all_changed_and_modified_files }}" extract-images: name: Extract Images runs-on: ubuntu-latest - needs: ["changed-files"] + needs: ["changed-clusters"] permissions: pull-requests: write strategy: matrix: - paths: ${{ fromJSON(needs.changed-files.outputs.matrix) }} + paths: ${{ fromJSON(needs.changed-clusters.outputs.matrix) }} max-parallel: 4 fail-fast: false outputs: