Skip to content

ci: run the pre-commit hooks on every push and pull request - #1685

Open
markuslf wants to merge 1 commit into
ci/pre-commitfrom
ci/pre-commit-workflow
Open

markuslf wants to merge 1 commit into
ci/pre-commitfrom
ci/pre-commit-workflow

Conversation

@markuslf

Copy link
Copy Markdown
Member

The hooks only see staged files, and nothing guarantees a contributor runs them at all, so findings reached main unnoticed (see #1684, #1681). This adds Linuxfabrik: Pre-commit, the workflow the other Linuxfabrik repositories run, over the whole tree.

Stacked on #1684, which clears the existing findings; GitHub retargets this pull request to main once #1684 is merged. Once both are in, Pre-commit can become a required check in the main: require status checks ruleset, as in the other repositories.

Checks: this pull request runs the workflow itself.

The hooks only see staged files, and nothing guarantees a contributor
runs them at all, so findings reached main unnoticed. The workflow is
the one the other Linuxfabrik repositories run, over the whole tree.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant