File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 11
11
uses : mtrudel/elixir-ci-actions/.github/workflows/test.yml@main
12
12
lint :
13
13
uses : mtrudel/elixir-ci-actions/.github/workflows/lint.yml@main
14
+ re-run :
15
+ needs : [test, lint]
16
+ if : failure() && fromJSON(github.run_attempt) < 3
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - env :
20
+ GH_REPO : ${{ github.repository }}
21
+ GH_TOKEN : ${{ github.token }}
22
+ GH_DEBUG : api
23
+ run : gh workflow run rerun.yml -F run_id=${{ github.run_id }}
Original file line number Diff line number Diff line change
1
+ on :
2
+ workflow_dispatch :
3
+ inputs :
4
+ run_id :
5
+ required : true
6
+ jobs :
7
+ rerun :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : rerun ${{ inputs.run_id }}
11
+ env :
12
+ GH_REPO : ${{ github.repository }}
13
+ GH_TOKEN : ${{ github.token }}
14
+ GH_DEBUG : api
15
+ run : |
16
+ gh run watch ${{ inputs.run_id }} > /dev/null 2>&1
17
+ gh run rerun ${{ inputs.run_id }} --failed
You can’t perform that action at this time.
0 commit comments