From 5e67704be20f11f3b2df254b53b51e9c3a9286bb Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 16 Aug 2024 22:06:57 +0200 Subject: GitHub: add action to auto close PRs for EOLed crux branch --- .github/workflows/auto-close-pr.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/auto-close-pr.yml (limited to '.github/workflows/auto-close-pr.yml') 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" -- cgit v1.2.3