Skip to content

Commit

Permalink
chore: Add an option to re-run GHA workflows (#10930)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo M. Oliveira <rmartine@redhat.com>
  • Loading branch information
rimolive authored Jul 2, 2024
1 parent 7d2ec39 commit 38ef986
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/rerun-pr-jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Re-Run PR tests

on:
issue_comment:
types: [created]

jobs:
rerun_pr_tests:
name: rerun_pr_tests
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-20.04
steps:
- uses: estroz/rerun-actions@main
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
comment_id: ${{ github.event.comment.id }}

0 comments on commit 38ef986

Please sign in to comment.