Skip to content

fix workflow concurrency #11

@proppy

Description

@proppy

When multiple instance of the user-project-ci workflow runs concurrently:

  • the first one to complete will push the new hardnened gds to the main branch.
  • this causes the latest one to finish to fail the commit job (git push fails because the main remote now has new commits that didn't exist at the time the run started)

see https://github.com/proppy/tiny_user_project/actions/runs/3545298578

One way to fix this could be to rebase before pushing, or use https://docs.github.com/en/actions/using-jobs/using-concurrency to prevent multiple runs of the same workflow to happen concurrently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions