Skip to content

Commit

Permalink
Support 3.4 release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hstct committed Jan 22, 2025
1 parent be7dd57 commit f43de27
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
unknown
2021.08.26-420-gf332a34
31 changes: 31 additions & 0 deletions .github/workflows/update_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,37 @@ jobs:
env:
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
continue-on-error: true
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
path: "pulp_deb"
ref: "3.4"

- name: "Run update"
working-directory: "pulp_deb"
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_4"
with:
token: "${{ secrets.RELEASE_TOKEN }}"
path: "pulp_deb"
committer: "pulpbot <[email protected]>"
author: "pulpbot <[email protected]>"
title: "Update CI files for branch 3.4"
branch: "update-ci/3.4"
base: "3.4"
delete-branch: true
- name: "Mark PR automerge"
working-directory: "pulp_deb"
run: |
gh pr merge --rebase --auto "${{ steps.create_pr_3_4.outputs.pull-request-number }}"
if: "steps.create_pr_3_4.outputs.pull-request-number"
env:
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
continue-on-error: true
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
Expand Down
3 changes: 2 additions & 1 deletion template_config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This config represents the latest values used when running the plugin-template. Any settings that
# were not present before running plugin-template have been added with their default values.

# generated with plugin_template@unknown
# generated with plugin_template@2021.08.26-420-gf332a34

api_root: /pulp/
black: true
Expand Down Expand Up @@ -62,6 +62,7 @@ stalebot_days_until_close: 30
stalebot_days_until_stale: 90
stalebot_limit_to_pulls: true
supported_release_branches:
- '3.4'
- '3.3'
- '3.2'
sync_ci: true
Expand Down

0 comments on commit f43de27

Please sign in to comment.