Skip to content

Conversation

@a-ariff
Copy link
Owner

@a-ariff a-ariff commented Sep 19, 2025

Summary

This PR fixes critical issues in the CodeQL workflow configuration to ensure proper security scanning.

Changes Made

  • Fix language configuration: Changed CodeQL language matrix from ['auto'] to ['javascript'] for accurate JavaScript/web project analysis
  • Remove deprecated parameters: Removed deprecated category: 'codeql-quiet' parameters from both CodeQL init and analyze steps

Why These Changes Are Necessary

  1. The 'auto' language detection may not work correctly for this project structure
  2. The category parameter has been deprecated in recent versions of the CodeQL action
  3. These issues prevent proper security scanning and may cause workflow failures

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • Configuration change

Testing

The workflow syntax has been validated and these changes align with the latest GitHub CodeQL action documentation.

- Change CodeQL language matrix from ['auto'] to ['javascript'] for proper JavaScript/web project analysis
- Remove deprecated 'category' parameters from CodeQL init and analyze steps
- These changes address CodeQL workflow configuration issues and ensure compatibility with latest GitHub Actions
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

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.

2 participants