Skip to content

Commit

Permalink
Update pr-sha.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsimon committed Oct 19, 2022
1 parent 3798cca commit c2ba2c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-sha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
git_sha="$(git log -1 --format='%H')"
github_sha="$GITHUB_SHA"
echo "\"$git_sha\": $git_sha"
echo "\"$github_sha\": $github_sha"
echo "git_sha: $git_sha"
echo "$github_sha: $github_sha"
if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
github_sha="$PULL_REQUEST_SHA"
echo "pull request, updating github_sha"
echo "\"$github_sha\": $github_sha"
echo "$github_sha: $github_sha"
fi
if [[ "$git_sha" != "$github_sha" ]]; then
Expand Down

0 comments on commit c2ba2c1

Please sign in to comment.