Skip to content

Commit 4bef836

Browse files
author
Vianpyro
committed
Add GitHub Actions workflow for Super Linter
1 parent d88aa06 commit 4bef836

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/super-linter.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Lint
3+
4+
on:
5+
push: null
6+
pull_request: null
7+
8+
permissions: {}
9+
10+
jobs:
11+
build:
12+
name: Lint
13+
runs-on: ubuntu-latest
14+
15+
permissions:
16+
contents: read
17+
packages: read
18+
# To report GitHub Actions status checks
19+
statuses: write
20+
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
with:
25+
# super-linter needs the full git history to get the
26+
# list of files that changed across commits
27+
fetch-depth: 0
28+
29+
- name: Super-linter
30+
uses: super-linter/[email protected]
31+
env:
32+
# To report GitHub Actions status checks
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
VALIDATE_ALL_CODEBASE: true

0 commit comments

Comments
 (0)