Skip to content

Commit b406a1f

Browse files
committed
fix(security): use manual build for CodeQL analysis
- Replace autobuild with manual xcodebuild command targeting Supabase library - Use macOS destination and Debug configuration as per Makefile settings - Skip macro validation for compatibility - Prevents CodeQL from building Examples target instead of main library
1 parent 16f1436 commit b406a1f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/security.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@ jobs:
3333
languages: ${{ matrix.language }}
3434
queries: +security-and-quality
3535

36-
- name: Autobuild
37-
uses: github/codeql-action/autobuild@v3
36+
- name: Build Supabase library
37+
run: |
38+
xcodebuild build \
39+
-workspace Supabase.xcworkspace \
40+
-scheme Supabase \
41+
-destination "platform=macOS" \
42+
-configuration Debug \
43+
-skipMacroValidation
3844
3945
- name: Perform CodeQL Analysis
4046
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)