We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bde84ea commit 2b2b00dCopy full SHA for 2b2b00d
.github/workflows/auto-close-issues.yml
@@ -0,0 +1,21 @@
1
+name: Close Linked Issues on PR Merge
2
+
3
+on:
4
+ pull_request:
5
+ types: [closed]
6
+ branches:
7
+ - main
8
+ - 2.0
9
+ - dev-2.0
10
11
+jobs:
12
+ close_issues:
13
+ if: github.event.pull_request.merged == true
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Close linked issues on non-default branches
17
+ uses: processing/branch-pr-close-issue@v1
18
+ with:
19
+ token: ${{ secrets.GITHUB_TOKEN }}
20
+ branch: ${{ github.base_ref }}
21
0 commit comments