summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-05-27 17:41:05 +0200
committerGitHub <noreply@github.com>2026-05-27 17:41:05 +0200
commitab356b5bc98de4d5d4c2a1642fd88a67cb5fa279 (patch)
treed05401b3bbaa9c4dc15f6ed24027644b9684d0fa
parentf420c2913a30cac5d61f94061466f6f6ccf7d81c (diff)
parent916808972833651b735c615210774abff9a941dd (diff)
downloadvyos-1x-ab356b5bc98de4d5d4c2a1642fd88a67cb5fa279.tar.gz
vyos-1x-ab356b5bc98de4d5d4c2a1642fd88a67cb5fa279.zip
Merge pull request #5221 from kumvijaya/current
T8929: auto-close pr workflow pullrequest target trigger fixed
-rw-r--r--.github/workflows/pr-auto-close.yml25
1 files changed, 25 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..df19c449d
--- /dev/null
+++ b/.github/workflows/pr-auto-close.yml
@@ -0,0 +1,25 @@
+name: Auto-Close Pull Requests Sagitta
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ - reopened
+ branches:
+ - circinus
+ - sagitta
+
+permissions:
+ pull-requests: write
+ issues: write
+ contents: read
+
+jobs:
+ run:
+ runs-on: ubuntu-latest
+ if: github.repository_owner == 'vyos'
+ steps:
+ - uses: superbrothers/close-pull-request@9c18513d320d7b2c7185fb93396d0c664d5d8448 #v3
+ with:
+ comment: "Pull requests to this branch are not accepted and have been closed automatically."
+ github_token: ${{ github.token }}