Skip to content

Commit

Permalink
update codeql configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobo committed Nov 16, 2023
1 parent 510725e commit 6d50e0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: "CodeQL"
#we will launch this actions with a manual trigger, as well when a push is committed or a PR is opened on main branch
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# push:
# branches: ["main"]
# pull_request:
# branches: ["main"]

jobs:
#jobs name and settings
Expand Down Expand Up @@ -35,6 +35,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}

# Build the codebase, codeql offer an autobuild steps for most of his supported languages: https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
paths-ignore:
- '**/juice-shop/**/codefixes/**'

0 comments on commit 6d50e0a

Please sign in to comment.