diff --git a/.github/codeql-config.yml b/.github/codeql-config.yml deleted file mode 100644 index 65c63597a..000000000 --- a/.github/codeql-config.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021-2022 MONAI Consortium -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: "CodeQL config" - -paths: - - src diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 230b9d82e..7c1d2f0e9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -16,13 +16,13 @@ name: CodeQL on: pull_request: + paths: + - 'src/**' + - '!**.csproj' push: branches: - 'develop' - 'main' - paths: - - src/** - - !**.csproj workflow_dispatch: env: @@ -58,7 +58,6 @@ jobs: uses: github/codeql-action/init@v2 with: languages: csharp - config-file: ./.github/codeql-config.yml - name: Restore Solution run: dotnet restore Monai.Deploy.WorkflowManager.sln