Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
danadoherty639 committed Sep 5, 2024
1 parent 630bcbd commit c8429e1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit c8429e1

Please sign in to comment.