Skip to content

Conversation

@jbampton
Copy link
Member

refs apache/cloudstack#11065

Made the oxipng a manual hook since it takes a long time to run.

So when running the standard pre-commit command pre-commit run --all-files the manual hooks won't run and slow down development.

You can always run a full repository clean up by running the manual hooks on your local machine with:

pre-commit run --all-files --hook-stage manual

I have also added the "manual" hook run to the CI so we don't lose coverage.

We can see now how long the GitHub Actions run takes.

I also renamed the pre-commit.yml workflow file

Copy link
Member

@vishesh92 vishesh92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DaanHoogland DaanHoogland merged commit e4b9792 into apache:staging-site Sep 17, 2025
3 checks passed
@jbampton jbampton deleted the add-oxipng-with-pre-commit branch September 17, 2025 10:27
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.

3 participants