Skip to content

Commit

Permalink
ci: fix get-pr-number job (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi authored Feb 24, 2024
1 parent 0364eda commit 6022fc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ jobs:
steps:
- name: Get PR number
id: pr-number
env:
HEAD_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
run: |
echo "pr_number=$(printf '${{ github.event.head_commit.message }}' | head -n1 | sed -nE 's/.+\(#([0-9]+)\)$/\1/p')" >> "$GITHUB_OUTPUT"
echo "pr_number=$(printf "$HEAD_COMMIT_MESSAGE" | head -n1 | sed -nE 's/.+\(#([0-9]+)\)$/\1/p')" >> "$GITHUB_OUTPUT"
update-release-comment:
needs: [release-please, publish-release, get-pr-number]
Expand Down

0 comments on commit 6022fc0

Please sign in to comment.