|
1 |
| -# Copyright (c) Microsoft Corporation. |
2 |
| -# Licensed under the MIT License. |
3 |
| -# |
4 |
| -# http://go.microsoft.com/fwlink/?LinkID=615560 |
5 |
| - |
6 |
| -name: Lint |
7 |
| - |
8 |
| -on: |
9 |
| - pull_request: |
10 |
| - branches: "main" |
11 |
| - paths-ignore: |
12 |
| - - LICENSE |
13 |
| - - '.nuget/*' |
14 |
| - - build/*.in |
15 |
| - |
16 |
| -permissions: {} |
17 |
| - |
18 |
| -jobs: |
19 |
| - analyze: |
20 |
| - permissions: |
21 |
| - contents: read |
22 |
| - packages: read |
23 |
| - statuses: write |
24 |
| - name: Lint |
25 |
| - runs-on: ubuntu-latest |
26 |
| - |
27 |
| - steps: |
28 |
| - - name: Checkout repository |
29 |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
30 |
| - with: |
31 |
| - fetch-depth: 0 |
32 |
| - |
33 |
| - - name: Lint Code Base |
34 |
| - uses: super-linter/super-linter@12150456a73e248bdc94d0794898f94e23127c88 # v7.4.0 |
35 |
| - env: |
36 |
| - DEFAULT_BRANCH: origin/main |
37 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
38 |
| - IGNORE_GITIGNORED_FILES: true |
39 |
| - VALIDATE_ALL_CODEBASE: true |
40 |
| - VALIDATE_CHECKOV: true |
41 |
| - VALIDATE_EDITORCONFIG: true |
42 |
| - VALIDATE_GITHUB_ACTIONS: true |
43 |
| - VALIDATE_JSON: true |
44 |
| - VALIDATE_MARKDOWN: true |
45 |
| - VALIDATE_POWERSHELL: true |
46 |
| - VALIDATE_GITLEAKS: true |
47 |
| - VALIDATE_YAML: true |
| 1 | +# Copyright (c) Microsoft Corporation. |
| 2 | +# Licensed under the MIT License. |
| 3 | +# |
| 4 | +# http://go.microsoft.com/fwlink/?LinkID=615560 |
| 5 | + |
| 6 | +name: Lint |
| 7 | + |
| 8 | +on: |
| 9 | + pull_request: |
| 10 | + branches: "main" |
| 11 | + paths-ignore: |
| 12 | + - LICENSE |
| 13 | + - '.nuget/*' |
| 14 | + - build/*.in |
| 15 | + |
| 16 | +permissions: {} |
| 17 | + |
| 18 | +jobs: |
| 19 | + analyze: |
| 20 | + permissions: |
| 21 | + contents: read |
| 22 | + packages: read |
| 23 | + statuses: write |
| 24 | + name: Lint |
| 25 | + runs-on: ubuntu-latest |
| 26 | + |
| 27 | + steps: |
| 28 | + - name: Checkout repository |
| 29 | + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 30 | + with: |
| 31 | + fetch-depth: 0 |
| 32 | + |
| 33 | + - name: Lint Code Base |
| 34 | + uses: super-linter/super-linter@5119dcd8011e92182ce8219d9e9efc82f16fddb6 # v8.0.0 |
| 35 | + env: |
| 36 | + DEFAULT_BRANCH: origin/main |
| 37 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 38 | + IGNORE_GITIGNORED_FILES: true |
| 39 | + VALIDATE_ALL_CODEBASE: true |
| 40 | + VALIDATE_CHECKOV: true |
| 41 | + VALIDATE_EDITORCONFIG: true |
| 42 | + VALIDATE_GITHUB_ACTIONS: true |
| 43 | + VALIDATE_JSON: true |
| 44 | + VALIDATE_MARKDOWN: true |
| 45 | + VALIDATE_POWERSHELL: true |
| 46 | + VALIDATE_GITLEAKS: true |
| 47 | + VALIDATE_YAML: true |
0 commit comments