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
12 changes: 11 additions & 1 deletion .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,24 @@ jobs:
rm tmp_version
- name: Commit changes with development version
run: git commit -am "Set development version v$dev_version"
- name: Create Pull Request
- id: create-pr
name: Create Pull Request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
body: ""
branch: prepare_release_v${{ env.version }}
draft: false
title: Release v${{ env.version }}
token: ${{ steps.app-token.outputs.token }}
# Merging the release PR is mechanical once checks pass; the human gate
# for shipping is publishing the draft release that tag_release creates.
# A merge commit is required so tag_release can match the message and
# locate the bump commit at HEAD^2^.
- name: Enable auto-merge
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
run: gh pr merge --auto --merge "$PR_NUMBER" --repo "$GITHUB_REPOSITORY"

name: Prepare Release
on:
Expand Down
Loading