From e643e41949addcda4b6e6a958d4276e92bd2c51a Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 21 Dec 2024 16:02:31 +0100 Subject: [PATCH] GH Actions: add actionlint job This job checks the GH Actions workflows against syntax errors and other problems. --- .github/workflows/cs.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index 83fa4ce77..d3096cd8e 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -22,9 +22,6 @@ on: - 'phpunit-wp.xml.dist' - 'yarn.lock' - '.github/dependabot.yml' - - '.github/workflows/deploy.yml' - - '.github/workflows/lint.yml' - - '.github/workflows/test.yml' - 'config/**' - '!config/composer/actions.php' - 'css/**' @@ -47,9 +44,6 @@ on: - 'phpunit-wp.xml.dist' - 'yarn.lock' - '.github/dependabot.yml' - - '.github/workflows/deploy.yml' - - '.github/workflows/lint.yml' - - '.github/workflows/test.yml' - 'config/**' - '!config/composer/actions.php' - 'css/**' @@ -64,6 +58,10 @@ concurrency: cancel-in-progress: true jobs: + actionlint: + name: 'Lint GH Action workflows' + uses: Yoast/.github/.github/workflows/reusable-actionlint.yml@main + checkcs: name: 'Check code style' runs-on: ubuntu-latest