From 38ef986eaa00e8e8e634a17a7837111b6380685a Mon Sep 17 00:00:00 2001 From: Ricardo Martinelli de Oliveira Date: Tue, 2 Jul 2024 17:32:45 -0300 Subject: [PATCH] chore: Add an option to re-run GHA workflows (#10930) Signed-off-by: Ricardo M. Oliveira --- .github/workflows/rerun-pr-jobs.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/rerun-pr-jobs.yaml diff --git a/.github/workflows/rerun-pr-jobs.yaml b/.github/workflows/rerun-pr-jobs.yaml new file mode 100644 index 00000000000..2c4c30eb402 --- /dev/null +++ b/.github/workflows/rerun-pr-jobs.yaml @@ -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 }} \ No newline at end of file