github-actions: Don't run code scanning workflow every week.

Since we already run this on every push we don't need to run it as a
cron job every week for no reason. While we are touching this code
block, we convert it to on: [push, pull_request] since the previous
format felt weird. It was only written that way because we had the
cron job declared there.
This commit is contained in:
Priyank Patel 2020-07-07 23:37:07 +00:00 committed by Tim Abbott
parent 711943a3ab
commit 61955ecf41
1 changed files with 1 additions and 5 deletions

View File

@ -1,10 +1,6 @@
name: "Code Scanning"
on:
push:
pull_request:
schedule:
- cron: '0 5 * * 1'
on: [push, pull_request]
jobs:
CodeQL: