Skip to content

Validate whether the local branch is synced with the origin? #365

Open
@sorin-costea

Description

@sorin-costea

When I trigger a deploy from my machine, I might forget sometimes to pull. Thus I package happily from what I thought to be HEAD. I also tried to fetch, but even when I see that FETCH_HEAD is different than HEAD, the build still succeeds.

Could I have some kind of validation which would fail if the checked out branch is not synced with its origin? I'd like to see it failing the build the same why like the validation for uncommited changes.

I'm aware this wouldn't be an issue if the CI would work but well..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions