diff --git a/.github/workflows/re-trigger-approvals.yml b/.github/workflows/re-trigger-approvals.yml new file mode 100644 index 0000000..6f87568 --- /dev/null +++ b/.github/workflows/re-trigger-approvals.yml @@ -0,0 +1,17 @@ +--- +name: Re-trigger Approvals +on: + pull_request_review: + types: [submitted, dismissed] + workflow_dispatch: + inputs: + head_sha: + description: Head SHA of the pull request to re-trigger approvals for + required: true + type: string + +jobs: + re-trigger: + uses: SonarSource/ci-github-actions/.github/workflows/re-trigger-approvals.yml@feat/jcarsique/BUILD-10590-verifiedApprovals + with: + head_sha: ${{ github.event.pull_request.head.sha || inputs.head_sha }}