diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 312463e2a..b8cedb010 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,15 +66,13 @@ jobs: # (2) continue ONLY IF "acceptance" fails if: always() && needs.acceptance.result == 'failure' runs-on: ubuntu-latest - # (4) "use" the custom action to retrigger the failed "acceptance job" above # NOTE: pass the SOURCE_GITHUB_TOKEN to the custom action because (a) it must have # this to trigger the reusable workflow that restarts the failed job; and # (b) custom actions do not have access to the calling workflow's secrets - - uses: "puppetlabs/cat-github-actions/.github/workflows/workflow-restarter.yml@cat_1820" - with: - repository: ${{ github.repository }} - run_id: ${{ github.run_id }} - env: - SOURCE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: "puppetlabs/cat-github-actions/.github/workflows/workflow-restarter.yml@v1" + with: + repository: ${{ github.repository }} + run_id: ${{ github.run_id }} + env: + SOURCE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}