ci: only run codeql nightly
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index cd37095..38b4a04 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -1,10 +1,7 @@
name: "CodeQL"
on:
- push:
- branches: [ master, maint/* ]
- pull_request:
- branches: [ master, maint/* ]
+ workflow_dispatch:
schedule:
- cron: '21 3 * * 1'