Skip to content

Remove auto fixing in PRs from pre-commit #898

Closed
@ciarams87

Description

@ciarams87

Describe the bug
The pre-commit check running in PRs is auto-fixing issues it finds. While that is desirable behaviour when we run pre-commit locally, it is not something we want in PRs because it alters the remote branch which can affect the developer workflow.

To Reproduce
Commit file with an issue that fails pre commit and see an auto fix commit occur. Example: ece4a3f

Expected behavior
Pre-commit does not auto fix issues in PRs.

Metadata

Metadata

Assignees

Labels

chorePull requests for routine tasks

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions