summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-10-19 15:45:20 +0200
committerGitHub <noreply@github.com>2024-10-19 15:45:20 +0200
commitbc78f1712355ceed68973a5b61cab01444f8104d (patch)
tree73f8f797337fd1f3d0ea3c60b9beaf624d1229ef
parentd31fd38f581f19a35e3a13470dc822969fca89c7 (diff)
parent269ed08be49c1a9309926522b3013dfba415f90b (diff)
downloadvyos-build-bc78f1712355ceed68973a5b61cab01444f8104d.tar.gz
vyos-build-bc78f1712355ceed68973a5b61cab01444f8104d.zip
Merge pull request #815 from vyos/T6781-sagsagitta
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 00000000..94710880
--- /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 }}