From 127658c34a858ed6216c1dc975084717a3bc0dff Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 11 Jun 2022 13:18:11 -0400 Subject: [PATCH 1/8] remove unneeded name in github actions Committed via https://github.com/asottile/all-repos --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index af89656..116a2d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,3 @@ -name: main on: pull_request: push: From 621169c0e1037cd0a1b90392891cc779d81c7e0e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 21:56:16 +0000 Subject: [PATCH 2/8] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ff875f..0f827a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.3.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer From df308c7f46bfa147cdec6c9795d030dc13431d35 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 29 Nov 2022 01:09:46 +0000 Subject: [PATCH 3/8] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0f827a9..5a70286 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer From 5f528da5c95691c4cf42ff76a4d10854b62cbb82 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 30 Jan 2023 22:06:42 -0500 Subject: [PATCH 4/8] move back to maintenance-only --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dfdd651..b8cf200 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ -**DEPRECATED** this action is in maintenance-only mode and will not be -accepting new features. +this action is in maintenance-only mode and will not be accepting new features. -Please switch to using [pre-commit.ci] which is faster and has more features. +generally you want to use [pre-commit.ci] which is faster and has more features. [pre-commit.ci]: https://pre-commit.ci From 049686ec527b5f1785b9cafcb3258821878466b1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 20:33:32 +0000 Subject: [PATCH 5/8] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a70286..40ab624 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer From 9dd42377a1725fb44b57b6a17501d984852f8ad9 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 19 Nov 2023 11:07:05 -0500 Subject: [PATCH 6/8] fix main badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b8cf200..924c927 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ generally you want to use [pre-commit.ci] which is faster and has more features. ___ [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pre-commit/action/main.svg)](https://results.pre-commit.ci/latest/github/pre-commit/action/main) -[![Build Status](https://github.com/pre-commit/action/workflows/main/badge.svg)](https://github.com/pre-commit/action/actions) +[![Build Status](https://github.com/pre-commit/action/actions/workflows/main.yml/badge.svg)](https://github.com/pre-commit/action/actions) pre-commit/action ================= From 0dbc303468d9ee1ae3a4cddd9b697c1424c73522 Mon Sep 17 00:00:00 2001 From: Jakub Boukal Date: Tue, 6 Feb 2024 22:46:44 +0000 Subject: [PATCH 7/8] Upgrade action/cache to v4. Fixes: #189 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a25b9da..18ded0d 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ runs: shell: bash - run: python -m pip freeze --local shell: bash - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} From 2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 7 Feb 2024 09:12:24 -0500 Subject: [PATCH 8/8] v3.0.1 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 924c927..2a30ad0 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 ``` This does a few things: @@ -51,7 +51,7 @@ Here's a sample step configuration that only runs the `flake8` hook against all the files (use the template above except for the `pre-commit` action): ```yaml - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 with: extra_args: flake8 --all-files ```