Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
{{ github.event.pull_request.head.sha || github.sha }} determines the correct HEAD sha, avoiding virtual merge commit created for pull requests
  • Loading branch information
grodowski authored Feb 2, 2024
1 parent 25150ce commit e30fd24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ jobs:
run: |
ruby -e "$(curl -s https://undercover-ci.com/uploader.rb)" -- \
--repo grodowski/undercover \
--commit $GITHUB_SHA \
--commit ${{ github.event.pull_request.head.sha || github.sha }} \
--lcov /home/runner/work/undercover/undercover/undercover.lcov

0 comments on commit e30fd24

Please sign in to comment.