Skip to content

Commit

Permalink
Bump version of pre-commit hooks and run only once per month (#198)
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: Christoph Fröhlich <[email protected]>
  • Loading branch information
github-actions[bot] and christophfroehlich committed Apr 15, 2024
1 parent 0b404dc commit b2ae538
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
4 changes: 2 additions & 2 deletions .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.0
hooks:
- id: black
args: ["--line-length=99"]
Expand Down Expand Up @@ -131,7 +131,7 @@ repos:
exclude: CHANGELOG\.rst|\.(svg|pyc)$

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.1
rev: 0.28.2
hooks:
- id: check-github-workflows
args: ["--verbose"]
Expand Down

0 comments on commit b2ae538

Please sign in to comment.