Skip to content

Commit

Permalink
ci: rename release branch to avoid branch protection issues (#890)
Browse files Browse the repository at this point in the history
This renames the CI automation release branches opened by the bot from
e.g. `snap/ubuntu-desktop-bootstrap/main-release` to
`release/snap/ubuntu-desktop-bootstrap/main` so that they are no longer
affected by the `snap/*` branch protection rules that prevent the bot
from updating the release branches.
  • Loading branch information
d-loose authored Dec 10, 2024
2 parents ccf8ba2 + b71b102 commit ddbdca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/snap-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
sign-commits: true
branch: ${{ matrix.branch }}-release
branch: release/${{ matrix.branch }}
commit-message: "chore: bump source-commit"
title: "chore: bump source-commit for ${{ steps.bump-deps.outputs.snap_name }}"
body: |
Expand Down

0 comments on commit ddbdca9

Please sign in to comment.