You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commit SHA provided in a PR is not the SHA of the last commit in this PR (instead, it's a merge commit between the last commit and the base branch, usually main).
* Javascript: provide correct SHA for GitHub actions (#67)
* Use new worflow event format
* Linting
* Remove checking SHA in GHA
The idea was to do an acceptance test, but running `git rev-parse HEAD` does not
show the "correct" SHA (it shows the same than the GITHUB_SHA env var)
* Also implement correct SHA for Ruby
* Linting
* Fix CamelCase in Ruby
* Only read event file for pull requests
* Java: Read revision from GITHUB_EVENT_PATH
* Rename
* Update changelog
* Reduce visibility
* Restore empty constructor
Co-authored-by: Aslak Hellesøy <[email protected]>
Co-authored-by: Aslak Hellesøy <[email protected]>
Describe the bug
The commit SHA provided in a PR is not the SHA of the last commit in this PR (instead, it's a merge commit between the last commit and the base branch, usually
main
).Additional context
Some extra infos and a potential solution here: https://github.community/t/github-sha-not-the-same-as-the-triggering-commit/18286/3
The text was updated successfully, but these errors were encountered: