From 246495816d37014057ef3b17d3ef6413c09c9232 Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Tue, 2 Apr 2024 11:34:57 -0400 Subject: [PATCH] cicd: add action for closing issue when merged into staging (#325) --- .github/workflows/close_issue.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/close_issue.yaml 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 }}