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
When a workflow is triggered by a PR event checkout action uses specific reference refs/pull/<PR_ID>/merge. This reference is not persistent and updated automatically when the base or PR branch is changed. Thus, there is no way to guarantee that all jobs will be run with the same commit and that a workflow is reproducible.
What do you think the action should solve this problem relies on immutable values of the workflow context (context.payload.pull_request.base.sha, context.payload.pull_request.head.sha) or this problem should be solved at the CI level?