diff --git a/.github/template_gitref b/.github/template_gitref index 4b856ee9..201b085a 100644 --- a/.github/template_gitref +++ b/.github/template_gitref @@ -1 +1 @@ -2021.08.26-423-g87f69ce +2021.08.26-426-g3a3f8a1 diff --git a/.github/workflows/update_ci.yml b/.github/workflows/update_ci.yml index e3257e47..e66e7c2f 100644 --- a/.github/workflows/update_ci.yml +++ b/.github/workflows/update_ci.yml @@ -105,6 +105,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.12" + + - 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_12" + with: + token: "${{ secrets.RELEASE_TOKEN }}" + path: "pulp_python" + committer: "pulpbot " + author: "pulpbot " + title: "Update CI files for branch 3.12" + branch: "update-ci/3.12" + base: "3.12" + delete-branch: true + - name: "Mark PR automerge" + working-directory: "pulp_python" + run: | + gh pr merge --rebase --auto "${{ steps.create_pr_3_12.outputs.pull-request-number }}" + if: "steps.create_pr_3_12.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 3074bce9..da28046b 100644 --- a/template_config.yml +++ b/template_config.yml @@ -60,6 +60,7 @@ stalebot_days_until_stale: 90 stalebot_limit_to_pulls: true supported_release_branches: - '3.11' +- '3.12' sync_ci: true test_azure: true test_cli: true