|
74 | 74 | env: |
75 | 75 | GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" |
76 | 76 | 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 |
77 | 108 | - uses: "actions/checkout@v4" |
78 | 109 | with: |
79 | 110 | fetch-depth: 0 |
@@ -136,6 +167,37 @@ jobs: |
136 | 167 | env: |
137 | 168 | GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" |
138 | 169 | 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 |
139 | 201 | - uses: "actions/checkout@v4" |
140 | 202 | with: |
141 | 203 | fetch-depth: 0 |
|
0 commit comments