From 2663c0864f0184cd8f42e871fa340618964f159d Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Fri, 25 Sep 2026 20:46:38 +0300 Subject: [PATCH 1/2] chore: update the pre-commit hooks quarterly pre-commit.ci checks for new hook versions every week by default and opens a pull request whenever there is one, and each needs a review. Once a quarter is enough for linters and formatters, and it is what cpp-linter/cpp-linter already does. A hook can still be updated by hand with `pre-commit autoupdate` when needed. This repository had no `ci` settings, so it also gets the ones the other repositories use, which give pre-commit.ci's pull requests and commits conventional titles. --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 38950a6..480aefc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,9 @@ +ci: + autofix_prs: true + autofix_commit_msg: 'chore: auto fixes from pre-commit.com hooks' + autoupdate_commit_msg: 'chore: pre-commit autoupdate' + autoupdate_schedule: quarterly + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 From fd76ddacfe81fbbb9fb40cbc26a3addde051164b Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 25 Sep 2026 12:33:05 -0700 Subject: [PATCH 2/2] use explicit local path syntax satisfies new zizmor lint --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2e45be..f3eef0b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,10 +17,10 @@ jobs: main: permissions: contents: read - uses: ./.github/workflows/pre-commit.yml + uses: $/.github/workflows/pre-commit.yml stale: permissions: contents: read issues: write pull-requests: write - uses: ./.github/workflows/stale.yml + uses: $/.github/workflows/stale.yml