From abd54991a9b750bf48686cb9167d38c09865dc7c Mon Sep 17 00:00:00 2001 From: Ben Peachey Date: Mon, 18 Apr 2022 12:20:06 +0200 Subject: [PATCH 1/2] Add ignore comment for YamLint line-length violation. --- .github/workflows/securitycheck.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/securitycheck.yml b/.github/workflows/securitycheck.yml index 62be2743..cdb06572 100644 --- a/.github/workflows/securitycheck.yml +++ b/.github/workflows/securitycheck.yml @@ -39,6 +39,7 @@ jobs: uses: "ramsey/composer-install@v2" - name: Download security checker + # yamllint disable-line rule:line-length run: wget -P . https://github.com/fabpot/local-php-security-checker/releases/download/v1.2.0/local-php-security-checker_1.2.0_linux_amd64 - name: Make security checker executable From 21d61dd57d64b47482c5a18441939b3607983609 Mon Sep 17 00:00:00 2001 From: Ben Peachey Date: Mon, 18 Apr 2022 12:29:02 +0200 Subject: [PATCH 2/2] Remove unneeded YamlLint disable-line comments for "truthy" rule These cases are already resolved by the YamlLint configuration file. --- .github/workflows/linting.yaml | 1 - .github/workflows/phplint.yml | 1 - .github/workflows/securitycheck.yml | 1 - 3 files changed, 3 deletions(-) diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 3f3bb929..d67e2318 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -1,7 +1,6 @@ --- name: Linting jobs -# yamllint disable-line rule:truthy on: - push - pull_request diff --git a/.github/workflows/phplint.yml b/.github/workflows/phplint.yml index 3788ab80..cf2d7ea1 100644 --- a/.github/workflows/phplint.yml +++ b/.github/workflows/phplint.yml @@ -1,7 +1,6 @@ --- name: PHP Lint -# yamllint disable-line rule:truthy on: - push - pull_request diff --git a/.github/workflows/securitycheck.yml b/.github/workflows/securitycheck.yml index cdb06572..7200457d 100644 --- a/.github/workflows/securitycheck.yml +++ b/.github/workflows/securitycheck.yml @@ -1,7 +1,6 @@ --- name: Security check -# yamllint disable-line rule:truthy on: - push - pull_request