Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1 KB

File metadata and controls

33 lines (27 loc) · 1 KB

Odcinek 19 - Super-Linter - dbanie o jakość kodu

Narzędzia:

Przykłady:

  superLinter:
    name: Lint
    runs-on: ubuntu-latest

    permissions:
      contents: read
      packages: read
      statuses: write

    steps:
      - name: Checkout code
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Super-linter
        uses: super-linter/super-linter@v7.1.0
        env:
          VALIDATE_CHECKOV: ${{ vars.VALIDATE_CHECKOV }}
          VALIDATE_GITLEAKS: ${{ vars.VALIDATE_GITLEAKS }}
          VALIDATE_YAML: ${{ vars.VALIDATE_YAML }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}