Skip to content

Commit ae7548a

Browse files
Limit codeQL push trigger to main branch (#1507)
I noticed the codeQL action running twice on a PR I updated, once because of the pull_request trigger, and once because of the push trigger. Signed-off-by: Spencer Schrock <sschrock@google.com> Co-authored-by: Stephen Augustus <justaugustus@users.noreply.github.com>
1 parent 9165624 commit ae7548a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16+
branches: [ main ]
1617
pull_request:
1718
# The branches below must be a subset of the branches above
1819
branches: [ main ]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy