Really fix PRs from bump-version for patch releases (#3631)
Actually poking around the `github` context it looks like for workflow-dispatch-triggered-events `base_ref` is blank but `ref_name` has the branch name we're interested in.
This commit is contained in:
2
.github/workflows/bump-version.yml
vendored
2
.github/workflows/bump-version.yml
vendored
@@ -92,7 +92,7 @@ jobs:
|
|||||||
--data @- << EOF
|
--data @- << EOF
|
||||||
{
|
{
|
||||||
"head": "ci/bump-version",
|
"head": "ci/bump-version",
|
||||||
"base": "${{ github.base_ref }}",
|
"base": "${{ github.ref_name }}",
|
||||||
"title": "Release Wasmtime ${{ steps.bump.outputs.version }}",
|
"title": "Release Wasmtime ${{ steps.bump.outputs.version }}",
|
||||||
"body": $body,
|
"body": $body,
|
||||||
"maintainer_can_modify": true
|
"maintainer_can_modify": true
|
||||||
|
|||||||
Reference in New Issue
Block a user