summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-10-16 17:04:17 +0100
committerGitHub <noreply@github.com>2024-10-16 17:04:17 +0100
commit76641c602cae458915c9cbe8dfb52c3414068d35 (patch)
tree57057f1f7f3f85bfe6671267657e21988d9bb30c
parentb564ad57e9a002b2661564f9d438955247720d0c (diff)
parentd3591c4a264fc27072f2933389f1be1650643e93 (diff)
downloadvyos-build-circinus.tar.gz
vyos-build-circinus.zip
Merge pull request #812 from sever-sever/T6781-build-circinuscircinus
T6781: Auto-close pull requests for circinus
-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..40e13a25
--- /dev/null
+++ b/.github/workflows/pr-auto-close.yml
@@ -0,0 +1,18 @@
+name: Auto-Close Pull Requests Circinus
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ branches:
+ - circinus
+
+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 }}