Skip to content

Commit

Permalink
config property remove from with property
Browse files Browse the repository at this point in the history
- chore(ci): in codeql Initialize CodeQL move config property out of with
  • Loading branch information
msftcangoblowm committed Feb 28, 2024
1 parent 2dd8920 commit 730558e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 730558e

Please sign in to comment.