Skip to content

Commit d121f44

Browse files
committed
Add 3.10 and 3.13 to supported branches
1 parent 1f7010c commit d121f44

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

.github/workflows/update_ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,37 @@ jobs:
7474
env:
7575
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
7676
continue-on-error: true
77+
- uses: "actions/checkout@v4"
78+
with:
79+
fetch-depth: 0
80+
path: "pulp_python"
81+
ref: "3.10"
82+
83+
- name: "Run update"
84+
working-directory: "pulp_python"
85+
run: |
86+
../plugin_template/scripts/update_ci.sh --release
87+
88+
- name: "Create Pull Request for CI files"
89+
uses: "peter-evans/create-pull-request@v6"
90+
id: "create_pr_3_10"
91+
with:
92+
token: "${{ secrets.RELEASE_TOKEN }}"
93+
path: "pulp_python"
94+
committer: "pulpbot <pulp-infra@redhat.com>"
95+
author: "pulpbot <pulp-infra@redhat.com>"
96+
title: "Update CI files for branch 3.10"
97+
branch: "update-ci/3.10"
98+
base: "3.10"
99+
delete-branch: true
100+
- name: "Mark PR automerge"
101+
working-directory: "pulp_python"
102+
run: |
103+
gh pr merge --rebase --auto "${{ steps.create_pr_3_10.outputs.pull-request-number }}"
104+
if: "steps.create_pr_3_10.outputs.pull-request-number"
105+
env:
106+
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
107+
continue-on-error: true
77108
- uses: "actions/checkout@v4"
78109
with:
79110
fetch-depth: 0
@@ -136,6 +167,37 @@ jobs:
136167
env:
137168
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
138169
continue-on-error: true
170+
- uses: "actions/checkout@v4"
171+
with:
172+
fetch-depth: 0
173+
path: "pulp_python"
174+
ref: "3.13"
175+
176+
- name: "Run update"
177+
working-directory: "pulp_python"
178+
run: |
179+
../plugin_template/scripts/update_ci.sh --release
180+
181+
- name: "Create Pull Request for CI files"
182+
uses: "peter-evans/create-pull-request@v6"
183+
id: "create_pr_3_13"
184+
with:
185+
token: "${{ secrets.RELEASE_TOKEN }}"
186+
path: "pulp_python"
187+
committer: "pulpbot <pulp-infra@redhat.com>"
188+
author: "pulpbot <pulp-infra@redhat.com>"
189+
title: "Update CI files for branch 3.13"
190+
branch: "update-ci/3.13"
191+
base: "3.13"
192+
delete-branch: true
193+
- name: "Mark PR automerge"
194+
working-directory: "pulp_python"
195+
run: |
196+
gh pr merge --rebase --auto "${{ steps.create_pr_3_13.outputs.pull-request-number }}"
197+
if: "steps.create_pr_3_13.outputs.pull-request-number"
198+
env:
199+
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
200+
continue-on-error: true
139201
- uses: "actions/checkout@v4"
140202
with:
141203
fetch-depth: 0

template_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ stalebot_days_until_close: 30
5959
stalebot_days_until_stale: 90
6060
stalebot_limit_to_pulls: true
6161
supported_release_branches:
62+
- '3.10'
6263
- '3.11'
6364
- '3.12'
65+
- '3.13'
6466
sync_ci: true
6567
test_azure: true
6668
test_cli: true

0 commit comments

Comments
 (0)