]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Replace `pre-commit/action` with `j178/prek-action` (#150237)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Fri, 22 May 2026 11:49:16 +0000 (14:49 +0300)
committerGitHub <noreply@github.com>
Fri, 22 May 2026 11:49:16 +0000 (14:49 +0300)
.github/workflows/lint.yml

index 20d1477e5084683ad49c4da781f9f635e8b62ad4..e9a4eb2b0808cb720cadecbcea638a6128b8909b 100644 (file)
@@ -7,7 +7,7 @@ permissions:
 
 env:
   FORCE_COLOR: 1
-  RUFF_FORMAT: github
+  RUFF_OUTPUT_FORMAT: github
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -20,7 +20,6 @@ jobs:
 
     steps:
       - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
-      - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
         with:
-          python-version: "3.x"
-      - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
+          persist-credentials: false
+      - uses: j178/prek-action@0bb87d7f00b0c99306c8bcb8b8beba1eb581c037 # v1.1.1