Skip to content

The head commit for this pull_request event is not ahead of the base commit #11

Open
@nolanbconaway

Description

@nolanbconaway

I squashed a bunch of commits from my PR into one, and now the action is giving me a message:

##[error]The head commit for this pull_request event is not ahead of the base commit. Please submit an issue on this action's GitHub repo.
All: [".github/workflows/black.yml"]
Added: [".github/workflows/black.yml"]
Modified: []
Removed: []
Renamed: []
Added or modified: [".github/workflows/black.yml"]

The issue is that the base commit as such no longer exists because it was squashed. However, it appears that the changed files list is still correct. Does this error need to be raised? what needs to happen to handle squashed base/head commits?

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