diff --git a/.github/codeql/config.yml b/.github/codeql/config.yml new file mode 100644 index 00000000..af2bab52 --- /dev/null +++ b/.github/codeql/config.yml @@ -0,0 +1,7 @@ +name: 'Mermaid CodeQL config' + +paths: + - src +paths-ignore: + - node_modules + - '**/*.spec.js' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8be1f515..3e562342 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -41,6 +41,7 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v1 with: + config-file: ./.github/codeql/config.yml languages: ${{ matrix.language }} # 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. @@ -49,8 +50,8 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v1 + # - name: Autobuild + # uses: github/codeql-action/autobuild@v1 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl