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
I think the problem here is that when three or more commits to master are merged, the first one runs, the second one queues up fine waiting for the first one to finish, but the third commit cancels the second commits run and queues up itself.
Uh oh!
There was an error while loading. Please reload this page.
#41962 enabled auto-cancel for GitHub Actions on both master and PRs. Ideally, we should only have this feature turned on for PRs.
Auto-cancel is achieved with the
concurrency
feature. It looks like this:The group attribute specifies a group name. So only one job can run for each group.
To disable it for master, we need to select the appropriate workflow/job variables from https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions for the group name so that it's different for each commit to the master but identical for each PR.
The text was updated successfully, but these errors were encountered: