Auto-link / Close Issues for 2.0 PRs (p5.js & p5.js-website) #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close Linked Issues on PR Merge | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- 2.0 | |
- dev-2.0 | |
jobs: | |
close_issues: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Close linked issues on non-default branches | |
uses: processing/branch-pr-close-issue@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: 2.0 |