From 97adf2e0d80aa84e573b2651babc4b1f4e030ace Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Fri, 2 Oct 2026 11:08:27 +0200 Subject: [PATCH] Set milestones to stable prs (#3641) * set next-stable milestone in the gh actions * add stable-7.2 to backport --- .backportrc.json | 2 +- .github/workflows/milestone.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/milestone.yml diff --git a/.backportrc.json b/.backportrc.json index 8e6eeb54ac..d724e1c36a 100644 --- a/.backportrc.json +++ b/.backportrc.json @@ -1,6 +1,6 @@ { "repoOwner": "opencloud-eu", "repoName": "opencloud", - "targetBranchChoices": ["main", "stable-2.0", "stable-4.0"], + "targetBranchChoices": ["main", "stable-4.0", "stable-7.2" ], "fork": false } diff --git a/.github/workflows/milestone.yml b/.github/workflows/milestone.yml new file mode 100644 index 0000000000..01291afb2f --- /dev/null +++ b/.github/workflows/milestone.yml @@ -0,0 +1,16 @@ +name: Set next-stable milestone +on: + pull_request_target: + types: [opened, reopened] + branches: + - 'stable-7.2' +jobs: + milestone: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - run: gh pr edit ${{ github.event.pull_request.number }} -R ${{ github.repository }} --milestone next-stable + env: + GH_TOKEN: ${{ github.token }}