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
However, there is a problem with Github Actions where github.event.pull_request.base.sha does not necessarily refer to the latest commit of the base branch: community/community#39880
Describe the solution you'd like?
It would be super great if this tool supported a base-branch option, instead of relying on the user to figure out the correct sha for the base branch.
Describe alternatives you've considered?
Wait for GitHub to fix github.event.pull_request.base.sha
Anything else?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
My apologies, I failed to understand my own code from a few months ago.
github.event.pull_request.base.sha intentionally refers to the commit sha of the base branch, as it was when the PR was created. There is no problem here. If I omit both, I would be comparing against the latest version of the base branch, as you said.
Is this feature missing in the latest version?
Is your feature request related to a problem? Please describe.
I want the
base-sha
option to poin to the latest commit in the base branch:However, there is a problem with Github Actions where
github.event.pull_request.base.sha
does not necessarily refer to the latest commit of the base branch: community/community#39880Describe the solution you'd like?
It would be super great if this tool supported a
base-branch
option, instead of relying on the user to figure out the correct sha for the base branch.Describe alternatives you've considered?
Wait for GitHub to fix
github.event.pull_request.base.sha
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: