From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 2 Jan 2026 15:21:41 +0000 (+0100) Subject: [3.13] gh-143148: Replace pre-commit with prek in CI (GH-143149) (#143359) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08c5bfe31d7b1194348215b8819fea4318199165;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-143148: Replace pre-commit with prek in CI (GH-143149) (#143359) Co-authored-by: Johann Christensen Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d74ce8fcc256..12fad966845d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,7 +22,4 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - uses: pre-commit/action@v3.0.1 + - uses: j178/prek-action@v1 diff --git a/.github/zizmor.yml b/.github/zizmor.yml index 9b42b47cc855..fab3abcb355d 100644 --- a/.github/zizmor.yml +++ b/.github/zizmor.yml @@ -1,4 +1,4 @@ -# Configuration for the zizmor static analysis tool, run via pre-commit in CI +# Configuration for the zizmor static analysis tool, run via prek in CI # https://woodruffw.github.io/zizmor/configuration/ rules: dangerous-triggers: