From 9a5112016186de7215ee5d8f2d7ba9ae41a2b47c Mon Sep 17 00:00:00 2001 From: Andre Marchesini <48133989+andremagui@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:35:48 -0300 Subject: [PATCH] Apply suggestions from code review References: BAR-361 Co-authored-by: Israel --- .github/workflows/linter.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a230a0aa8..a4a1675c6 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -58,12 +58,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Linters configuration. LINTER_RULES_PATH: '.' - # We are not interested in linting the these files: - # * Security workflows provided by the Foundation team, as we are not supposed - # to be changing them. + # We are not interested in linting these files: # * Markdown files under `doc` or `sphinx` directories, which belong to the # old docs, and are going to be replaced soon. - FILTER_REGEX_EXCLUDE: '\.github/workflows/[^\s]*-scan.ya?ml|(doc|sphinx)/.*\.md' + FILTER_REGEX_EXCLUDE: '(doc|sphinx)/.*\.md' DOCKERFILE_HADOLINT_FILE_NAME: .hadolint.yaml GITLEAKS_CONFIG_FILE: .gitleaks.toml MARKDOWN_CONFIG_FILE: .markdownlint.yml @@ -90,5 +88,5 @@ jobs: VALIDATE_PYTHON_BLACK: true VALIDATE_PYTHON_FLAKE8: true VALIDATE_PYTHON_ISORT: true - # Validate YAML files from workflows and release notes. + # Validate YAML files from workflows. VALIDATE_YAML: true