File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed 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" ]
12
+ pull_request :
13
+ branches : [ "main" ]
14
+ jobs :
15
+ run-lint :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout code
19
+ uses : actions/checkout@v3
20
+ with :
21
+ # Full git history is needed to get a proper list of changed files within `super-linter`
22
+ fetch-depth : 0
23
+
24
+ - name : Lint Code Base
25
+ uses : github/super-linter@v4
26
+ env :
27
+ VALIDATE_ALL_CODEBASE : false
28
+ DEFAULT_BRANCH : " main"
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments