Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

! [remote rejected] main -> main (cannot lock ref 'refs/heads/main': #250

Description

@ianlewis

Most of the e2e test workflows commit and push a change and if two workflows do this at the same time the remove will reject the change because it's non-linear.

Cloning into 'example-package'...
/home/runner/work/example-package/example-package/example-package
[main 431364b7] .github/workflows/e2e.nodejs.tag.main.unscoped.slsa3.yml
 2 files changed, 3 insertions(+), 3 deletions(-)
To https://github.com/slsa-framework/example-package.git
 ! [remote rejected]   main -> main (cannot lock ref 'refs/heads/main': is at 66[9](https://github.com/slsa-framework/example-package/actions/runs/5698916646/job/15447297517#step:3:10)41e6196d60ec8a5f14cc3cd5764037bad4e82 but expected cdec69331ca3b4565378c23c6f917d5f89426a3a)
error: failed to push some refs to 'https://github.com/slsa-framework/example-package.git'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions