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 }}