Skip to content

Commit

Permalink
ci: add action for closing issue when merged into staging branch
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma authored Sep 9, 2024
1 parent fcf4891 commit 4a0e693
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/close_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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.4.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4a0e693

Please sign in to comment.