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-29 23:55:52 -07:00 committed by GitHub
parent 42e24e3508
commit 8cdd3a3d8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'