From cf97eb80c5b64f4a20290ffbf899ca4e7941bbde Mon Sep 17 00:00:00 2001
From: Jeremy Massel <1123407+jkmassel@users.noreply.github.com>
Date: Thu, 6 Feb 2025 15:08:51 -0700
Subject: [PATCH] Try scanning all files

---
 .github/workflows/codeql.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 58db780b0..362077b40 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -3,6 +3,8 @@ name: "CodeQL"
 on:
   push:
     branches: [ "trunk" ]
+  pull_request:
+    branches: [ "*" ]
   schedule:
     - cron: '33 23 * * 4'
 
@@ -68,6 +70,11 @@ jobs:
 
         # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
         # queries: security-extended,security-and-quality
+        config:
+          paths:
+            - native/swift/**/*
+            - native/kotlin/**/*
+            - fastlane/Fastfile
 
     - name: Restore Rust Cache
       if: matrix.language != 'swift'