We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05d8232 commit ab12bb3Copy full SHA for ab12bb3
1 file changed
.github/workflows/security-scan.yml
@@ -1,25 +1,29 @@
1
+# .github/workflows/security-scan.yml
2
+
3
name: Security Scan
4
5
on:
6
push:
7
branches:
8
- main
9
pull_request:
10
+ branches:
11
+ - main
12
schedule:
- - cron: '0 4 * * 0' # weekly Sunday 04:00 UTC
13
+ - cron: '0 4 * * 0' # weekly Sunday 04:00 UTC
14
15
+permissions:
16
+ contents: read # allow reading repository contents
17
+ security-events: write # allow uploading CodeQL alerts
18
19
jobs:
20
codeql:
21
name: Perform CodeQL Analysis
22
runs-on: ubuntu-latest
- permissions:
- actions: read
- security-events: write
23
24
strategy:
25
matrix:
- # pick the languages you use; here we scan JavaScript and Python
- language: [ 'javascript', 'python' ]
26
+ language: [ 'javascript', 'python' ] # scan these languages
27
28
steps:
29
- name: Checkout repository
0 commit comments