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