Skip to content

Conversation

@jpopelka
Copy link
Member

@jpopelka jpopelka commented May 5, 2023

to run packit validate-config directly.
The previously added validate-config hook has been renamed to validate-config-in-container.

Fixes #36

@jpopelka jpopelka force-pushed the validate-config-no-container branch from 067ac4d to 28ddf20 Compare May 5, 2023 15:04
Comment on lines 16 to 23
### Using check-rebase with pre-commit

Add this to your `.pre-commit-config.yaml`

- repo: https://github.com/packit/pre-commit-hooks
rev: the revision or tag to clone at
rev: v1.2.0
hooks:
- id: check-rebase
- id: validate-config
- id: check-rebase
Copy link
Member

Choose a reason for hiding this comment

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

Can you please update the title to match the example?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've split it and added separate examples for the new hooks.

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

🚀

to run 'packit validate-config' directly.
The previously added validate-config hook has been renamed to validate-config-in-container.

Fixes packit#36
@jpopelka jpopelka force-pushed the validate-config-no-container branch from 28ddf20 to b77c319 Compare May 9, 2023 14:30
@jpopelka jpopelka merged commit bf3d905 into packit:main May 9, 2023
@jpopelka jpopelka deleted the validate-config-no-container branch May 9, 2023 14:35
softwarefactory-project-zuul bot added a commit to packit/packit that referenced this pull request May 9, 2023
Dogfood our validate-config pre-commit hook

Related packit/pre-commit-hooks#37, packit/pre-commit-hooks#38

Reviewed-by: František Lachman
Reviewed-by: Laura Barcziová
Reviewed-by: Matej Focko
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.

Create hook to run packit validate-config

4 participants