summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"