summaryrefslogtreecommitdiff
path: root/.github/workflows/rerun-test.yml
blob: 1c88d2effac8033b1820f294349eb87aaedc539c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: 'Rerun failed workflows'

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 }}