Skip to content

Commit bca36a9

Browse files
authored
Update Super-Linter configuration and version (#596)
1 parent d755aa5 commit bca36a9

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/super-linter.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
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

815
jobs:
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

0 commit comments

Comments
 (0)