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