Skip to content

Resolve CodeQL Paths Ignore Issues #575

@ArielSAdamsNASA

Description

@ArielSAdamsNASA

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I reviewed the cFS README.md file to see if the feature is in the major future work.
  • I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Is your feature request related to a problem? Please describe.
The CodeQL workflow throws issues for using paths ignore in the codeql-analysis.yml file.

Describe the solution you'd like
Use zbazztian/filter-sarif@master in the codeql-reusable.yml file to avoid these issues. I tested this on fork and it does not throw issues.

Describe alternatives you've considered
Keep as is to allow each submodule to specify which files to ignore. If we want to keep the files to ignore consistent for each submodule/repo, then filter-sarif should be used to reduce redundancy.

Additional context
Files that are ignored in cFS and cFE:
- '/*.md'
- '
/.txt'
- '**/
.dox'

Submodules like osal, psp, and sc do not ignore any files.

Requester Info
Ariel Adams, MCSG Tech

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions