chore(security): Optimize CodeQL (#541)

This reduces duplicate analyses by only running on push to master, or PRs to master.
This commit is contained in:
Justin Hutchings
2020-07-30 08:55:52 +02:00
committed by GitHub
parent 42e24e3508
commit 8cdd3a3d8c
+3
View File
@@ -2,7 +2,10 @@ name: "Code scanning - action"
on:
push:
branches: [master, ]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 12 * * 2'