From 6e75c3ee3aeda27dabe031c4955e026cc073b9a0 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Mon, 17 Jun 2024 00:30:19 +0100 Subject: [PATCH] chore: trying to make the target always trigger --- .github/workflows/pre-commit-check.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit-check.yaml b/.github/workflows/pre-commit-check.yaml index 4c3cf88a..0dc9ab8e 100644 --- a/.github/workflows/pre-commit-check.yaml +++ b/.github/workflows/pre-commit-check.yaml @@ -42,7 +42,7 @@ jobs: # run if no changed files were detected (e.g. workflow_dispatch on master branch) - name: Run against all files - uses: pre-commit/action@v2.0.3 + uses: pre-commit/action@v3.0.1 if: steps.filter.outputs.addedOrModified != 'true' with: extra_args: --all-files @@ -50,7 +50,7 @@ jobs: if: always() - name: Commit pre-commit changes - if: github.event.action != 'pull_request' + if: always() && github.event.action != 'pull_request' run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com"