Skip to content

Org-wide workflow - actions/checkout defaults to "main" because that's the branch name here #7

@ondrejmirtes

Description

@ondrejmirtes

But we need to use the default branch of the checked out repository.

They're going to be different across repositories and the actions/checkout does not support this out of the box.

Figure out the default branch with some lightweight command before and pass the output to actions/checkout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions