Skip to content

Comments

chore: Update CodeQL workflow paths for more specific file matching#531

Open
Harmanpreet-Microsoft wants to merge 1 commit intodevfrom
psl-codeqlyml
Open

chore: Update CodeQL workflow paths for more specific file matching#531
Harmanpreet-Microsoft wants to merge 1 commit intodevfrom
psl-codeqlyml

Conversation

@Harmanpreet-Microsoft
Copy link
Contributor

Purpose

This pull request updates the CodeQL workflow configuration to more precisely target relevant files for analysis. The changes focus on specifying exact file types and extensions for backend, frontend, and kernel memory components, which helps optimize when the workflow runs and reduces unnecessary triggers.

Workflow configuration improvements:

  • Updated the paths filter in .github/workflows/codeql.yml to only include specific file extensions (.cs, .csproj, .sln, .ts, .tsx, .js, .jsx) for the backend, frontend, and kernel memory directories, ensuring CodeQL runs only when relevant files change.
  • Removed the paths-ignore filter for files like .gitignore, Dockerfile, and .dockerignore, allowing the workflow to be triggered only by changes to the explicitly listed file types.
  • ...

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant