mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #815 from vyos/T6781-sag
T6781: Auto-close pull requests for sagitta
This commit is contained in:
commit
bc78f17123
18
.github/workflows/pr-auto-close.yml
vendored
Normal file
18
.github/workflows/pr-auto-close.yml
vendored
Normal 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 }}
|
||||
Loading…
x
Reference in New Issue
Block a user