From cc208a0af14046f30af9434dc7f357b0b28af2bb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 12:37:27 +0200 Subject: [PATCH] Bump version of pre-commit hooks and run only once per month (#1479) * Bump version of pre-commit hooks * Run update only once per month --------- Co-authored-by: bmagyar <3524577+bmagyar@users.noreply.github.com> Co-authored-by: Christoph Froehlich (cherry picked from commit 5d0d4966e52099acb6ebaf10c8ed50d44407bb5a) # Conflicts: # .pre-commit-config.yaml --- .github/workflows/update-pre-commit.yml | 2 +- .pre-commit-config.yaml | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-pre-commit.yml b/.github/workflows/update-pre-commit.yml index 8b9545dff19..6bedaa0c97a 100644 --- a/.github/workflows/update-pre-commit.yml +++ b/.github/workflows/update-pre-commit.yml @@ -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: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1aec8464ba5..2f348cacfbd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"] @@ -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'] @@ -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"]