Suggest limiting push/pull_request triggers

Bring the template in line with the one used by the UI.
This commit is contained in:
Robin Neatherway 2021-07-15 17:20:13 +01:00 committed by GitHub
parent 3c8ba71769
commit 0d0f0ef80e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,8 @@ To get code scanning results from CodeQL analysis on your repo you can use the f
name: "Code Scanning - Action"
on:
push:
pull_request:
push: [main]
pull_request: [main]
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)