File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://github.com/marketplace/actions/super-linter#get-started
2+ name : Lint
3+
4+ on : # yamllint disable-line rule:truthy
5+ push : null
6+ pull_request : null
7+
8+ permissions : {}
9+
10+ jobs :
11+ lint :
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/super-linter/[email protected] # x-release-please-version 31+ # TODO need to create problem matchers for each linter? https://github.com/rhysd/actionlint/blob/v1.7.7/docs/usage.md#problem-matchers
32+ env :
33+ # To report GitHub Actions status checks
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ # TODO automatically fix linting issues and commit them for PRs
36+ # fix-lint-issues: # https://github.com/marketplace/actions/super-linter#github-actions-workflow-example-pull-request
You can’t perform that action at this time.
0 commit comments