Merge pull request #815 from vyos/T6781-sag

T6781: Auto-close pull requests for sagitta
This commit is contained in:
Christian Breunig 2024-10-19 15:45:20 +02:00 committed by GitHub
commit bc78f17123
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

18
.github/workflows/pr-auto-close.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Auto-Close Pull Requests Sagitta
on:
pull_request_target:
types:
- opened
branches:
- sagitta
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 }}