Skip to content

Commit

Permalink
fix: prefer using fromJson with outputs for branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
wparr-circle authored Aug 2, 2024
1 parent af1953d commit b655626
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/conventional-commit-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,7 @@ jobs:
id: checkout-release-branch
uses: actions/[email protected]
with:
# the branch name will always follow this pattern
# https://github.com/googleapis/release-please/blob/439290c63c5790d9161396fdba1daca4b8781e44/src/util/branch-name.ts#L211
ref: "release-please--branches--${{ github.ref_name }}--components--${{ github.event.repository.name }}"
ref: ${{ fromJson(steps.release.outputs.pr).headBranchName }}
fetch-depth: 0

- name: Import GPG key
Expand Down

0 comments on commit b655626

Please sign in to comment.