File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 7777 - name : Run tests
7878 run : |
7979 bundle exec rake spec
80+
81+ on-failure-workflow-restarter-proxy :
82+ needs : [linux_tests, windows_tests]
83+ if : always() && needs.linux_tests.result == 'failure' || needs.windows_tests.result == 'failure'
84+ runs-on : ubuntu-latest
85+ steps :
86+ - name : Checkout repository
87+ uses : actions/checkout@v4
88+
89+ - name : Trigger reusable workflow
90+ uses : " puppetlabs/cat-github-actions/.github/actions/workflow-restarter-proxy"
91+ env :
92+ SOURCE_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93+ with :
94+ repository : ${{ github.repository }}
95+ run_id : ${{ github.run_id }}
Original file line number Diff line number Diff line change 7575 - name : Run tests
7676 run : |
7777 bundle exec rake spec
78+
79+ on-failure-workflow-restarter-proxy :
80+ # (1) run this job after the "acceptance" job and...
81+ needs : [linux_tests, windows_tests]
82+ # (2) continue ONLY IF "acceptance" fails
83+ if : always() && needs.linux_tests.result == 'failure' || needs.windows_tests.result == 'failure'
84+ runs-on : ubuntu-latest
85+ steps :
86+ - name : Checkout repository
87+ uses : actions/checkout@v4
88+
89+ - name : Trigger reusable workflow
90+ uses : " puppetlabs/cat-github-actions/.github/actions/workflow-restarter-proxy"
91+ env :
92+ SOURCE_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93+ with :
94+ repository : ${{ github.repository }}
95+ run_id : ${{ github.run_id }}
96+
You can’t perform that action at this time.
0 commit comments