summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-10-17 07:11:11 +0200
committerGitHub <noreply@github.com>2024-10-17 07:11:11 +0200
commitc3f688653511881a2270d83cd0f098b45bfa7148 (patch)
tree980053113a8d553ff29f6a420db8f7f4919772cf
parent55a657e4d28f895c9d153cfcf1dc10ddfac6208b (diff)
parentfc57bed9feac284fbdef9a20ce52789214f7888d (diff)
downloadvyos-1x-c3f688653511881a2270d83cd0f098b45bfa7148.tar.gz
vyos-1x-c3f688653511881a2270d83cd0f098b45bfa7148.zip
Merge pull request #4162 from sever-sever/T6781-sagittasagitta
T6781: Auto-close pull requests for sagitta
-rw-r--r--.github/workflows/pr-auto-close.yml18
1 files changed, 18 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..947108805
--- /dev/null
+++ b/.github/workflows/pr-auto-close.yml
@@ -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 }}