Skip to content

Lint step does not trigger workflows, preventing merges if it is the last operation #1037

Description

@thbar

See #1026 (comment)

The rationale by GitHub is to avoid perpetually running loops, if I understand correctly.

Solutions:

  • replace the auto-commit thingy by a non-committing step which will trigger blocking errors requesting the PR author to run that locally & commit (this is very classically used)
  • or reconfigure the linter to ensure the token used is able to trigger workflows, which is not the case

The work-around I found for now is (as I did on #1026) to push an empty commit (e.g. git commit -m "Run workflows" --allow-empty).

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions