File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow executes several linters on changed files based on languages used in your code base whenever
2+ # you push a code or open a pull request.
3+ #
4+ # You can adjust the behavior by modifying this file.
5+ # For more information, see:
6+ # https://github.com/github/super-linter
7+ name : Lint Code Base
8+
9+ on :
10+ push :
11+ branches : [ "main", "dev" ]
12+ pull_request :
13+ branches : [ "main", "dev" ]
14+ permissions :
15+ contents : read
16+ jobs :
17+ run-lint :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v6
22+ with :
23+ # Full git history is needed to get a proper list of changed files within `super-linter`
24+ fetch-depth : 0
25+
26+ - name : Lint Code Base
27+ uses : github/super-linter@v4
28+ env :
29+ VALIDATE_ALL_CODEBASE : false
30+ VALIDATE_JAVASCRIPT_ES : false
31+ DEFAULT_BRANCH : " main"
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments