Only run codeql on pushes to master, not pr's

These are extremely slow and probably very expensive for someone.
We don't need these running on PR's which have constant pushes, rebases,
etc.

The activity on the repo is slow enough we can fix-up things after
codeql runs on master.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff
2022-08-31 19:56:02 +00:00
parent 9d94eea9e9
commit 6198b02423

View File

@@ -7,9 +7,6 @@ concurrency:
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: "19 18 * * 3"