Skip to content

Commit cff9d6f

Browse files
committed
add rerun
1 parent c7c9766 commit cff9d6f

3 files changed

Lines changed: 1 addition & 11 deletions

File tree

.github/actions/rerun-workflow/rerun.sh

Whitespace-only changes.

.github/workflows/rerun.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,10 @@ jobs:
1414

1515
- name: Rerun all failed jobs
1616
if: ${{ contains(github.event.comment.body, 'all-failed') }}
17-
uses: ./.github/rerun-workflow
18-
with:
19-
PR_ID: ${{ github.event.issue.number }}
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
OWNER: ${{ github.repository_owner }}
22-
REPO: ${{ github.event.repository.name }}
23-
JOB_NAME: 'all-failed'
24-
25-
- name: Rerun Approval
26-
if: ${{ contains(github.event.comment.body, 'approval') }}
2717
uses: ./.github/actions/rerun-workflow
2818
with:
2919
PR_ID: ${{ github.event.issue.number }}
3020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3121
OWNER: ${{ github.repository_owner }}
3222
REPO: ${{ github.event.repository.name }}
33-
JOB_NAME: 'Check approval'
23+
JOB_NAME: 'all-failed'

0 commit comments

Comments
 (0)