Skip to content

Commit

Permalink
Remove CodeQL runs from debug and experimental runs (#7663)
Browse files Browse the repository at this point in the history
* Attempting to only run this on 3 builds

* Trying this syntax
  • Loading branch information
woody-apple authored Jun 16, 2021
1 parent 20c618f commit b439db2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
with:
submodules: true
- name: Initialize CodeQL
if: ${{ github.event_name == 'push' && (matrix.type == 'gcc_release' || matrix.type == 'clang' || matrix.type == 'mbedtls') }}
uses: github/codeql-action/init@v1
with:
languages: "cpp"
Expand Down Expand Up @@ -98,7 +99,7 @@ jobs:
# - name: Remove nrfxlib binaries for CodeQL Analysis
# run: find . -type d -name "nrfxlib" -exec rm -rf {} +
- name: Perform CodeQL Analysis
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' && (matrix.type == 'gcc_release' || matrix.type == 'clang' || matrix.type == 'mbedtls') }}
uses: github/codeql-action/analyze@v1
build_darwin:
name: Build on Darwin
Expand Down

0 comments on commit b439db2

Please sign in to comment.