diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8361251..36fb664 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,46 +1,46 @@ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# -# http://go.microsoft.com/fwlink/?LinkId=248926 - -name: Lint - -on: - pull_request: - branches: "main" - paths-ignore: - - LICENSE - - build/*.in - -permissions: {} - -jobs: - analyze: - permissions: - contents: read - packages: read - statuses: write - name: Lint - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 0 - - - name: Lint Code Base - uses: super-linter/super-linter@12150456a73e248bdc94d0794898f94e23127c88 # v7.4.0 - env: - DEFAULT_BRANCH: origin/main - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - IGNORE_GITIGNORED_FILES: true - VALIDATE_ALL_CODEBASE: true - VALIDATE_CHECKOV: true - VALIDATE_EDITORCONFIG: true - VALIDATE_GITHUB_ACTIONS: true - VALIDATE_JSON: true - VALIDATE_MARKDOWN: true - VALIDATE_POWERSHELL: true - VALIDATE_GITLEAKS: true - VALIDATE_YAML: true +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# +# http://go.microsoft.com/fwlink/?LinkId=248926 + +name: Lint + +on: + pull_request: + branches: "main" + paths-ignore: + - LICENSE + - build/*.in + +permissions: {} + +jobs: + analyze: + permissions: + contents: read + packages: read + statuses: write + name: Lint + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + fetch-depth: 0 + + - name: Lint Code Base + uses: super-linter/super-linter@5119dcd8011e92182ce8219d9e9efc82f16fddb6 # v8.0.0 + env: + DEFAULT_BRANCH: origin/main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + IGNORE_GITIGNORED_FILES: true + VALIDATE_ALL_CODEBASE: true + VALIDATE_CHECKOV: true + VALIDATE_EDITORCONFIG: true + VALIDATE_GITHUB_ACTIONS: true + VALIDATE_JSON: true + VALIDATE_MARKDOWN: true + VALIDATE_POWERSHELL: true + VALIDATE_GITLEAKS: true + VALIDATE_YAML: true