ci: add codeql checks on main (#11949)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
Julien Robert 2022-05-12 16:30:37 +02:00 committed by GitHub
parent e856b01746
commit 55e9295fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 31 deletions

View File

@ -4,6 +4,12 @@ on:
pull_request: pull_request:
paths: paths:
- "**.go" - "**.go"
push:
branches:
- main
- release/**
paths:
- "**.go"
jobs: jobs:
analyze: analyze:
@ -24,7 +30,7 @@ jobs:
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v2
with: with:
languages: 'go' languages: "go"
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
# 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.