summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2026-05-27 18:28:39 +0530
committerGitHub <noreply@github.com>2026-05-27 18:28:39 +0530
commit5ae08f7bc902d56351ad9d0cf6eaf3a2b8ee4bce (patch)
tree2357c8fbd8f1d881f0ccc923cb3ded574a5f1be8 /.github/workflows
parentf420c2913a30cac5d61f94061466f6f6ccf7d81c (diff)
downloadvyos-1x-5ae08f7bc902d56351ad9d0cf6eaf3a2b8ee4bce.tar.gz
vyos-1x-5ae08f7bc902d56351ad9d0cf6eaf3a2b8ee4bce.zip
T8929: auto-close pr workflow pullrequest trigger fixed
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pr-auto-close.yml24
1 files changed, 24 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..c61f0e713
--- /dev/null
+++ b/.github/workflows/pr-auto-close.yml
@@ -0,0 +1,24 @@
+name: Auto-Close Pull Requests Sagitta
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ branches:
+ - circinus
+ - sagitta
+
+permissions:
+ pull-requests: write
+ issues: write
+ contents: read
+
+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 }}