diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pr-auto-close.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/pr-auto-close.yml b/.github/workflows/pr-auto-close.yml new file mode 100644 index 000000000..c61f0e713 --- /dev/null +++ b/.github/workflows/pr-auto-close.yml @@ -0,0 +1,24 @@ +name: Auto-Close Pull Requests Sagitta + +on: + pull_request_target: + types: + - opened + branches: + - circinus + - sagitta + +permissions: + pull-requests: write + issues: write + contents: read + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@v3 + with: + # Optional. Post a issue comment just before closing a pull request. + comment: "Pull requests to this branch are not accepted and have been closed automatically." + github_token: ${{ secrets.PAT }} |
