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
10 changes: 10 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,13 @@ jobs:
gh api --method POST "repos/${GITHUB_REPOSITORY}/statuses/${head_sha}" \
-f state=success -f context=Verify \
-f description="Product changes passed verification before release metadata update" >/dev/null

- name: Enable release pull request auto-merge
if: steps.release.outputs.prs_created == 'true'
env:
# The delivery app merges, so the resulting push to main starts the tag and publish runs.
GH_TOKEN: ${{ steps.delivery-token.outputs.token }}
RELEASE_PRS: ${{ steps.release.outputs.prs }}
run: |
release_pr="$(jq -r '.[0].number // empty' <<< "${RELEASE_PRS}")"
gh pr merge "${release_pr}" --repo "${GITHUB_REPOSITORY}" --auto --squash
Loading