Skip to content

Commit d69fd96

Browse files
authored
Update linter-pr.yml
1 parent 3da9364 commit d69fd96

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/linter-pr.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
1-
---
21
name: Lint Pull Request
32

43
on:
54
workflow_dispatch:
65
pull_request:
76
branches: main
87

9-
permissions: { }
8+
9+
permissions: {}
1010

1111
jobs:
1212
build:
13-
name: Lint Pull Request
13+
name: Lint
1414
runs-on: ubuntu-latest
15+
1516
permissions:
1617
contents: read
1718
packages: read
18-
# To report github actions status checks
19+
# To report GitHub Actions status checks
1920
statuses: write
21+
2022
steps:
2123
- name: Checkout Code
2224
uses: actions/checkout@v4
2325
with:
24-
# Full git history is needed to get a proper list of changed
25-
# files within `super-linter`
26+
# super-linter needs the full git history to get the
27+
# list of files that changed across commits
2628
fetch-depth: 0
27-
- name: Lint Code Base
28-
uses: super-linter/super-linter@v7
29+
30+
- name: Super-linter
31+
uses: super-linter/[email protected]
2932
env:
30-
# only validate new or edited files
33+
# To report GitHub Actions status checks
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
DEFAULT_BRANCH: main
3136
VALIDATE_ALL_CODEBASE: false
3237
VALIDATE_BASH: true
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)