ci: codeql: Trigger when pushing to any branch

This commit is contained in:
Calcitem 2021-11-14 12:00:40 +08:00
parent 586e929c09
commit 58a0a4ba9f
1 changed files with 5 additions and 6 deletions

View File

@ -14,7 +14,6 @@ name: "CodeQL"
on: on:
push: push:
branches: [ master ]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ master ] branches: [ master ]
@ -53,10 +52,10 @@ jobs:
#- name: Auto build #- name: Auto build
# uses: github/codeql-action/autobuild@v1 # uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell. # Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl # https://git.io/JvXDl
# ✏️ If the Auto build fails above, remove it and uncomment the following three lines # If the Auto build fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project # and modify them (or add more) to build your code if your project
# uses a compiled language # uses a compiled language