diff --git a/.github/workflows/pr-actions.yml b/.github/workflows/pr-actions.yml index 2e845581872e..3ff9e55f0795 100644 --- a/.github/workflows/pr-actions.yml +++ b/.github/workflows/pr-actions.yml @@ -118,3 +118,13 @@ jobs: gh pr comment $PR_NUM -b "fix:${PR_ACTION} failed or was cancelled. For details, see $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID." env: GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} + + 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.OPENTELEMETRYBOT_GITHUB_TOKEN }} + comment_id: ${{ github.event.comment.id }}