From 40f18f5577b51b366d5f32799312433d35cf5598 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 2 Feb 2024 13:56:11 +0100 Subject: [PATCH] Try to use a unique id --- .github/workflows/pre-commit.yml | 1 + .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index c685645c504..f4cb62f0a13 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -16,6 +16,7 @@ jobs: if: false # The next uses the git API because there is no clone yet. + # It sets the variable steps.changed-php.outputs.all_changed_files for other steps # This is faster for a big repo. - name: Get all changed php files (if PR) id: changed-php diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95f2b455877..17c31a96e6b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -125,7 +125,7 @@ repos: # Only for translations with specialised exceptions # -D contains predefined conversion dictionaries # -L is to ignore some words - id: codespell + id: codespell-lang-en_US files: ^htdocs/langs/en_US/.*$ args: - -D