summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-16 22:06:57 +0200
committerChristian Breunig <christian@breunig.cc>2024-08-16 22:06:57 +0200
commit5e67704be20f11f3b2df254b53b51e9c3a9286bb (patch)
treeeb161457761b44080080a639d86e394f3a2537c2
parentdf9bbe008b3b4ce4df3227867f32e60a71f2703d (diff)
downloadvyos-1x-crux.tar.gz
vyos-1x-crux.zip
GitHub: add action to auto close PRs for EOLed crux branchcrux
-rw-r--r--.github/workflows/auto-close-pr.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/auto-close-pr.yml b/.github/workflows/auto-close-pr.yml
new file mode 100644
index 000000000..a0b1661f7
--- /dev/null
+++ b/.github/workflows/auto-close-pr.yml
@@ -0,0 +1,14 @@
+name: Close Pull Request
+
+on:
+ pull_request_target:
+ branches: [crux]
+ types: [opened]
+
+jobs:
+ run:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: superbrothers/close-pull-request@v3
+ with:
+ comment: "VyOS 1.2 (crux) is end-of-life. Please upgrade to 1.3 (equuleus) or later"