Skip to content

Commit

Permalink
cicd: add gh action for closing issue on staging branch
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma authored Oct 2, 2023
1 parent 901d3f1 commit b3e2538
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.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b3e2538

Please sign in to comment.