File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Lint
1+ ---
2+ name : Super-Linter
23
3- on : [pull_request]
4+ on :
5+ push :
6+ branches :
7+ - main
8+ pull_request :
9+ branches :
10+ - ' *'
411
5- permissions : # added using https://github.com/step-security/secure-workflows
12+ permissions :
613 contents : read
714
815jobs :
9- build :
16+ super-linter :
1017 permissions :
1118 contents : read # for actions/checkout to fetch code
1219 statuses : write # for super-linter/super-linter/slim to mark status of each linter run
1320 name : Super-Linter
1421 runs-on : ubuntu-latest
1522 steps :
1623 - name : " Checkout ${{ github.ref }} ( ${{ github.sha }} )"
17- uses : actions/checkout@v6
24+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1825 with :
1926 # Full git history is needed to get a proper list of changed files within `super-linter`
2027 fetch-depth : 0
21- - uses : super-linter/super-linter/slim@v8.6.0
28+ persist-credentials : false
29+ - uses : super-linter/super-linter/slim@9e863354e3ff62e0727d37183162c4a88873df41 # v8.6.0
2230 env :
2331 DEFAULT_BRANCH : main
2432 # VALIDATE_EDITORCONFIG: true
You can’t perform that action at this time.
0 commit comments