Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #11 from gha-trigger/fix/fix-pr-number
Browse files Browse the repository at this point in the history
fix: fix GHA_PULL_REQUEST_NUMBER
  • Loading branch information
suzuki-shunsuke authored Sep 10, 2022
2 parents 4ab7fe3 + 41ab19d commit b3bef19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:
# GITHUB_SHA
# > Last merge commit on the GITHUB_REF branch
echo "GHA_SHA=${{fromJSON(inputs.data).pull_request.merge_commit_sha}}" >> "$GITHUB_ENV"
echo "GHA_PULL_REQUEST_NUMBER" >> "$GITHUB_ENV"
echo "GHA_PULL_REQUEST_NUMBER=${{fromJSON(inputs.data).event.pull_request.number}}" >> "$GITHUB_ENV"
if: startsWith(env.GHA_EVENT_NAME, 'pull_request')
- shell: bash
# GITHUB_REF
Expand Down

0 comments on commit b3bef19

Please sign in to comment.