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
Get reliable base ref for push-triggered "Compare Performance" workflow
The "Compare Performance" GitHub Actions workflow is intended to assist in the evaluation of performance impact of
proposed changes to the tool. It does this by comparing the duration of a run of the engine at the head ref of the
proposal against a base ref.
In the case where the workflow is triggered by a `push` event from a commit, the base ref should be the parent commit.
The previous approach of using the `github.event.before` context item was unreliable because this is set to the fake ref
`0000000000000000000000000000000000000000` when there has not been a previous workflow run on the branch (as is the case
when branch and commit are pushed from a local to the remote).
0 commit comments