File tree 1 file changed +52
-0
lines changed
1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Code Scanning"
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ # The branches below must be a subset of the branches above
8
+ branches : [ main ]
9
+ schedule :
10
+ # Runs every Monday morning PST
11
+ - cron : ' 17 15 * * 1'
12
+
13
+ jobs :
14
+ analyze :
15
+ name : Analyze
16
+ runs-on : ubuntu-latest
17
+
18
+ strategy :
19
+ fail-fast : false
20
+
21
+ steps :
22
+ - name : Checkout repository
23
+ uses : actions/checkout@v2
24
+
25
+ # Initializes the CodeQL tools for scanning.
26
+ - name : Initialize CodeQL
27
+ uses : github/codeql-action/init@v1
28
+ with :
29
+ languages : javascript
30
+ # If you wish to specify custom queries, you can do so here or in a config file.
31
+ # By default, queries listed here will override any specified in a config file.
32
+ # Prefix the list here with "+" to use these queries and those in the config file.
33
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
34
+
35
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
36
+ # If this step fails, then you should remove it and run the build manually (see below)
37
+ - name : Autobuild
38
+ uses : github/codeql-action/autobuild@v1
39
+
40
+ # ℹ️ Command-line programs to run using the OS shell.
41
+ # 📚 https://git.io/JvXDl
42
+
43
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
44
+ # and modify them (or add more) to build your code if your project
45
+ # uses a compiled language
46
+
47
+ # - run: |
48
+ # make bootstrap
49
+ # make release
50
+
51
+ - name : Perform CodeQL Analysis
52
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments