Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,16 @@ jobs:
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}

# Merge the release PR as soon as release-please opens/updates it, so a
# code merge to main flows straight through to a tag + publish without a
# second manual merge. main has no required checks and the repo has
# "Allow auto-merge" disabled, so `gh pr merge --auto` is unavailable
# ("clean status" error) — merge directly instead. Only squash is enabled.
# When this merge lands, release-please runs again and cuts the release.
- name: Merge the release PR
if: ${{ steps.release.outputs.pr }}
env:
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
PR_NUMBER: ${{ fromJSON(steps.release.outputs.pr).number }}
run: gh pr merge "$PR_NUMBER" --squash
Loading