diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d3c5005..10d8dd8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -51,24 +51,23 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 + config: + # ignores the tests/ folder + # CodeQL compiles code. The executed code is the compiled code within __pycache__ folders. + # In compiled code, __file__ path differs. Causing unforeseeable gotchas + paths: + - src + - igor.py + - ci/*.py + paths-ignore: + - 'src/**/bad_idea/**/*.yaml' + - 'src/**/configs/*.yaml' with: 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. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main - # - # ignores the tests/ folder - # CodeQL compiles code. The executed code is the compiled code within __pycache__ folders. - # In compiled code, __file__ path differs. Causing unforeseeable gotchas - config: - paths: - - src - - igor.py - - ci/*.py - paths-ignore: - - 'src/**/bad_idea/**/*.yaml' - - 'src/**/configs/*.yaml' # 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) diff --git a/CHANGES.rst b/CHANGES.rst index e45ba00..0a72d43 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -31,6 +31,7 @@ Version 1.2.11 — 2024-02-28 - chore(ci): in release from on push --> on create tag - chore(ci): in release fetch tags then get latest commit tag - chore(ci): in codeql Initialize CodeQL config property holds paths and paths-ignore +- chore(ci): in codeql Initialize CodeQL move config property out of with .. _changes_1-2-10: