Enable code ql for release branches

This commit is contained in:
Geoff Stuart 2023-01-26 02:20:23 -05:00
parent 038404ef31
commit 36b4c8a9e9

View File

@ -13,7 +13,9 @@ name: "CodeQL"
on: on:
push: push:
branches: [ master ] branches:
- master
- 'release/*'
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: branches:
@ -45,7 +47,7 @@ jobs:
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v2
with: with:
languages: ${{ matrix.language }} languages: go
# If you wish to specify custom queries, you can do so here or in a config file. # If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file. # By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file. # Prefix the list here with "+" to use these queries and those in the config file.