From d2d0396f40ba8a6e1f424d78755378e7a1618a40 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 4 Jan 2022 11:40:25 -0600 Subject: [PATCH] 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. --- .github/workflows/bump-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index bce7ab1b2f..6f265eb6f1 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -92,7 +92,7 @@ jobs: --data @- << EOF { "head": "ci/bump-version", - "base": "${{ github.base_ref }}", + "base": "${{ github.ref_name }}", "title": "Release Wasmtime ${{ steps.bump.outputs.version }}", "body": $body, "maintainer_can_modify": true