Skip to content

Commit 94ebd4d

Browse files
authored
Add rerun workflow (#2181)
to rerun other workflows via pr comments see https://github.com/marketplace/actions/rerun-actions
1 parent 1f0249e commit 94ebd4d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/rerun.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on:
2+
issue_comment:
3+
types: [created]
4+
5+
jobs:
6+
rerun_pr_tests:
7+
name: rerun_pr_tests
8+
if: ${{ github.event.issue.pull_request }}
9+
runs-on: ubuntu-20.04
10+
steps:
11+
- uses: estroz/rerun-actions@main
12+
with:
13+
repo_token: ${{ secrets.GITHUB_TOKEN }}
14+
comment_id: ${{ github.event.comment.id }}

0 commit comments

Comments
 (0)