Skip to content

Commit b7b528c

Browse files
authored
Merge pull request #803 from gerrod3/add-312
Add 3.12 to supported branches
2 parents f522a2f + d7fe384 commit b7b528c

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/template_gitref

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021.08.26-423-g87f69ce
1+
2021.08.26-426-g3a3f8a1

.github/workflows/update_ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,37 @@ jobs:
105105
env:
106106
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
107107
continue-on-error: true
108+
- uses: "actions/checkout@v4"
109+
with:
110+
fetch-depth: 0
111+
path: "pulp_python"
112+
ref: "3.12"
113+
114+
- name: "Run update"
115+
working-directory: "pulp_python"
116+
run: |
117+
../plugin_template/scripts/update_ci.sh --release
118+
119+
- name: "Create Pull Request for CI files"
120+
uses: "peter-evans/create-pull-request@v6"
121+
id: "create_pr_3_12"
122+
with:
123+
token: "${{ secrets.RELEASE_TOKEN }}"
124+
path: "pulp_python"
125+
committer: "pulpbot <pulp-infra@redhat.com>"
126+
author: "pulpbot <pulp-infra@redhat.com>"
127+
title: "Update CI files for branch 3.12"
128+
branch: "update-ci/3.12"
129+
base: "3.12"
130+
delete-branch: true
131+
- name: "Mark PR automerge"
132+
working-directory: "pulp_python"
133+
run: |
134+
gh pr merge --rebase --auto "${{ steps.create_pr_3_12.outputs.pull-request-number }}"
135+
if: "steps.create_pr_3_12.outputs.pull-request-number"
136+
env:
137+
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
138+
continue-on-error: true
108139
- uses: "actions/checkout@v4"
109140
with:
110141
fetch-depth: 0

template_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ stalebot_days_until_stale: 90
6060
stalebot_limit_to_pulls: true
6161
supported_release_branches:
6262
- '3.11'
63+
- '3.12'
6364
sync_ci: true
6465
test_azure: true
6566
test_cli: true

0 commit comments

Comments
 (0)