From 61e8189223d4312678da5657213a8d48c8659ea7 Mon Sep 17 00:00:00 2001 From: jneira Date: Fri, 10 Sep 2021 09:39:29 +0200 Subject: [PATCH] Add rerun workflow to rerun other workfloes via pr comments see https://github.com/marketplace/actions/rerun-actions --- .github/workflows/rerun.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/rerun.yml diff --git a/.github/workflows/rerun.yml b/.github/workflows/rerun.yml new file mode 100644 index 0000000000..5886e8946c --- /dev/null +++ b/.github/workflows/rerun.yml @@ -0,0 +1,14 @@ +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 }}