build: refine linter configuration
[poolifier.git] / .github / workflows / codeql-analysis.yml
index 719e5743462e9e447bac5e9410443ccb7f2cc031..87d582261fc763563e5cf773570fdc5516e44b54 100644 (file)
@@ -13,12 +13,12 @@ name: 'CodeQL'
 
 on:
   push:
-    branches:
-      - ${{ github.event.repository.default_branch }}
+    branches: [master]
   pull_request:
     # The branches below must be a subset of the branches above
-    branches:
-      - ${{ github.event.repository.default_branch }}
+    branches: [master]
+  merge_group:
+    branches: [master]
   schedule:
     - cron: '44 9 * * 3'