Skip to content

actions/checkout@v4: checkout used commit from another repository #2401

@redzynix

Description

@redzynix

This is super strange as checkout used commit from another repository in the same org

Run actions/checkout@v4
with:
  repository: thesofproject/linux
  ref: main

...

/usr/bin/git log -1 --format=%H
dc91bdf43ca654e25998544a67c384a35dcb6218

This should use main from thesofproject/linux -> 8ff49951ebfb8ee38558f5864c22a36d03f67499 but it instead used dc91bdf43ca654e25998544a67c384a35dcb6218 that comes from thesofproject/linux-test and it's not even the latest commit in this repo!

I don't think I can reproduce this again.
Just letting you people know that something like this happened to me.

Git version: 2.43.0
Checkout action sha: 34e1148

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions