1 parent f158296 commit 5c596d2Copy full SHA for 5c596d2
1 file changed
.github/workflows/codeql-analysis.yml
@@ -0,0 +1,34 @@
1
+name: "CodeQL"
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ # Optionally limit to specific branches
8
9
+ schedule:
10
+ - cron: "0 0 * * 0" # Weekly scan
11
12
+jobs:
13
+ analyze:
14
+ name: Analyze with CodeQL
15
+ runs-on: macos-latest
16
17
+ permissions:
18
+ security-events: write
19
20
+ strategy:
21
+ fail-fast: false
22
23
+ steps:
24
+ - name: Checkout repository
25
+ uses: actions/checkout@v4
26
27
+ - name: Initialize CodeQL
28
+ uses: github/codeql-action/init@v2
29
+ with:
30
+ languages: swift
31
+ config-file: .github/codeql/codeql-config.yml
32
33
+ - name: Perform CodeQL Analysis
34
+ uses: github/codeql-action/analyze@v2
0 commit comments