Actions: Simplify code scanning workflow

Run only on pushes and PRs against `main`.
This commit is contained in:
Aditya Sharad
2021-04-14 11:45:12 -07:00
committed by Andrew Eisenberg
parent bdb2feb559
commit aa60fbc213

View File

@@ -2,14 +2,14 @@ name: "Code Scanning - CodeQL"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 0 * * 0'
jobs:
codeql:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout repository