From c22276695f271c24c6fba25ca521d3e20532b91f Mon Sep 17 00:00:00 2001 From: Iain-S <25081046+Iain-S@users.noreply.github.com> Date: Tue, 6 Aug 2024 11:32:58 +0100 Subject: [PATCH] Add --all-files to pre-commit actions --- .github/workflows/pre-commit.yml | 2 ++ .github/workflows/safety.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index d69707a..336f092 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -51,3 +51,5 @@ jobs: run: poetry check --lock - uses: pre-commit/action@v3.0.1 + with: + extra_args: --all-files diff --git a/.github/workflows/safety.yml b/.github/workflows/safety.yml index 28c4b3a..eede630 100644 --- a/.github/workflows/safety.yml +++ b/.github/workflows/safety.yml @@ -52,4 +52,4 @@ jobs: - uses: pre-commit/action@v3.0.1 with: - extra_args: --config .pre-commit-safety.yaml + extra_args: --all-files --config .pre-commit-safety.yaml