Skip to content

Commit

Permalink
Bump version of pre-commit hooks and run only once per month (#1479)
Browse files Browse the repository at this point in the history
* Bump version of pre-commit hooks

* Run update only once per month

---------

Co-authored-by: bmagyar <[email protected]>
Co-authored-by: Christoph Froehlich <[email protected]>
(cherry picked from commit 5d0d496)

# Conflicts:
#	.pre-commit-config.yaml
  • Loading branch information
github-actions[bot] authored and mergify[bot] committed May 1, 2024
1 parent e02e791 commit cc208a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Auto Update pre-commit
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # Run every Sunday at midnight
- cron: '0 0 1 * *' # Runs at 00:00, on day 1 of the month

jobs:
auto_update_and_create_pr:
Expand Down
10 changes: 9 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ repos:
args: ["--ignore=D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404"]

- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.4.2
hooks:
- id: black
args: ["--line-length=99"]
Expand All @@ -62,7 +62,11 @@ repos:

# CPP hooks
- repo: https://github.com/pre-commit/mirrors-clang-format
<<<<<<< HEAD
rev: v18.1.2
=======
rev: v18.1.4
>>>>>>> 5d0d496 (Bump version of pre-commit hooks and run only once per month (#1479))
hooks:
- id: clang-format
args: ['-fallback-style=none', '-i']
Expand Down Expand Up @@ -132,7 +136,11 @@ repos:
exclude: CHANGELOG\.rst|\.(svg|pyc|drawio)$

- repo: https://github.com/python-jsonschema/check-jsonschema
<<<<<<< HEAD
rev: 0.28.0
=======
rev: 0.28.2
>>>>>>> 5d0d496 (Bump version of pre-commit hooks and run only once per month (#1479))
hooks:
- id: check-github-workflows
args: ["--verbose"]
Expand Down

0 comments on commit cc208a0

Please sign in to comment.