Skip to content

Commit 2d92ad5

Browse files
authored
Create linter.yml
1 parent 2458575 commit 2d92ad5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Diff for: .github/workflows/linter.yml

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

0 commit comments

Comments
 (0)