From 3fff4efa6626a659ceb7c441706dbe2447b33bfa Mon Sep 17 00:00:00 2001 From: Stanislau Kviatkouski <7zete7@gmail.com> Date: Mon, 1 Dec 2025 00:47:56 +0300 Subject: [PATCH] fix(lint): ignore always-false condition errors in ci workflow --- .github/linters/actionlint.yaml | 5 +++++ .github/workflows/ci.yaml | 1 + 2 files changed, 6 insertions(+) create mode 100644 .github/linters/actionlint.yaml diff --git a/.github/linters/actionlint.yaml b/.github/linters/actionlint.yaml new file mode 100644 index 000000000..4145edf01 --- /dev/null +++ b/.github/linters/actionlint.yaml @@ -0,0 +1,5 @@ +--- +paths: + .github/workflows/ci.yaml: + ignore: + - 'condition "false" is always evaluated to false. remove the if:.+' diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1ea78a240..0224c47d9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,6 +76,7 @@ jobs: - name: Lint Code Base uses: super-linter/super-linter/slim@v8 env: + GITHUB_ACTIONS_CONFIG_FILE: actionlint.yaml GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VALIDATE_CHECKOV: false VALIDATE_TRIVY: false