Skip to content

Commit 0d0f0ef

Browse files
authored
Suggest limiting push/pull_request triggers
Bring the template in line with the one used by the UI.
1 parent 3c8ba71 commit 0d0f0ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ To get code scanning results from CodeQL analysis on your repo you can use the f
2121
name: "Code Scanning - Action"
2222

2323
on:
24-
push:
25-
pull_request:
24+
push: [main]
25+
pull_request: [main]
2626
schedule:
2727
# ┌───────────── minute (0 - 59)
2828
# │ ┌───────────── hour (0 - 23)

0 commit comments

Comments
 (0)