diff --git a/.github/workflows/update_ci.yml b/.github/workflows/update_ci.yml index 8fc10e9e..23588353 100644 --- a/.github/workflows/update_ci.yml +++ b/.github/workflows/update_ci.yml @@ -74,6 +74,37 @@ jobs: env: GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" continue-on-error: true + - uses: "actions/checkout@v4" + with: + fetch-depth: 0 + path: "pulp_python" + ref: "3.10" + + - name: "Run update" + working-directory: "pulp_python" + run: | + ../plugin_template/scripts/update_ci.sh --release + + - name: "Create Pull Request for CI files" + uses: "peter-evans/create-pull-request@v6" + id: "create_pr_3_10" + with: + token: "${{ secrets.RELEASE_TOKEN }}" + path: "pulp_python" + committer: "pulpbot " + author: "pulpbot " + title: "Update CI files for branch 3.10" + branch: "update-ci/3.10" + base: "3.10" + delete-branch: true + - name: "Mark PR automerge" + working-directory: "pulp_python" + run: | + gh pr merge --rebase --auto "${{ steps.create_pr_3_10.outputs.pull-request-number }}" + if: "steps.create_pr_3_10.outputs.pull-request-number" + env: + GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" + continue-on-error: true - uses: "actions/checkout@v4" with: fetch-depth: 0 @@ -136,6 +167,37 @@ jobs: env: GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" continue-on-error: true + - uses: "actions/checkout@v4" + with: + fetch-depth: 0 + path: "pulp_python" + ref: "3.13" + + - name: "Run update" + working-directory: "pulp_python" + run: | + ../plugin_template/scripts/update_ci.sh --release + + - name: "Create Pull Request for CI files" + uses: "peter-evans/create-pull-request@v6" + id: "create_pr_3_13" + with: + token: "${{ secrets.RELEASE_TOKEN }}" + path: "pulp_python" + committer: "pulpbot " + author: "pulpbot " + title: "Update CI files for branch 3.13" + branch: "update-ci/3.13" + base: "3.13" + delete-branch: true + - name: "Mark PR automerge" + working-directory: "pulp_python" + run: | + gh pr merge --rebase --auto "${{ steps.create_pr_3_13.outputs.pull-request-number }}" + if: "steps.create_pr_3_13.outputs.pull-request-number" + env: + GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" + continue-on-error: true - uses: "actions/checkout@v4" with: fetch-depth: 0 diff --git a/template_config.yml b/template_config.yml index 172972cf..f3e7735e 100644 --- a/template_config.yml +++ b/template_config.yml @@ -59,8 +59,10 @@ stalebot_days_until_close: 30 stalebot_days_until_stale: 90 stalebot_limit_to_pulls: true supported_release_branches: +- '3.10' - '3.11' - '3.12' +- '3.13' sync_ci: true test_azure: true test_cli: true