diff --git a/.github/workflows/close_issue.yaml b/.github/workflows/close_issue.yaml new file mode 100644 index 00000000..3423f4f3 --- /dev/null +++ b/.github/workflows/close_issue.yaml @@ -0,0 +1,17 @@ +name: Close issues related to a merged pull request based on staging branch. + +on: + pull_request: + types: [closed] + branches: + - staging + +jobs: + closeIssueOnPrMergeTrigger: + runs-on: ubuntu-latest + + steps: + - name: Closes issues related to a merged pull request. + uses: ldez/gha-mjolnir@v1.3.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}