diff --git a/.github/workflows/code-ql-config.yml b/.github/workflows/code-ql-config.yml new file mode 100644 index 000000000000..9d40e2aa9b9f --- /dev/null +++ b/.github/workflows/code-ql-config.yml @@ -0,0 +1,6 @@ +name: Config of Weekly Code Scanning + +paths-ignore: + - test + - 3rdParty/asio + - 'tools/*.cpp' diff --git a/.github/workflows/code-ql.yml b/.github/workflows/code-ql.yml index af72de48113e..bf9de3cebcfd 100644 --- a/.github/workflows/code-ql.yml +++ b/.github/workflows/code-ql.yml @@ -1,9 +1,13 @@ name: Weekly Code Scanning -#on: [push, pull_request] -on: - schedule: - - cron: "0 0 * * 0" # Every Sunday at midnight +on: [push, pull_request] +#on: +# schedule: +# - cron: "0 0 * * 0" # Every Sunday at midnight + +#env: +# ACTIONS_RUNNER_DEBUG: true +# ACTIONS_STEP_DEBUG: true # For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. @@ -85,6 +89,7 @@ jobs: with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} + config-file: ./.github/workflows/code-ql-config.yml #debug: true # 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.