Skip to content

fix: exclude gh-pages from CodeQL scanning#201

Closed
apham0001 wants to merge 1 commit into
mainfrom
fix/codeql-gh-pages
Closed

fix: exclude gh-pages from CodeQL scanning#201
apham0001 wants to merge 1 commit into
mainfrom
fix/codeql-gh-pages

Conversation

@apham0001

Copy link
Copy Markdown
Contributor

Summary

  • CodeQL default setup scans all branches including gh-pages, which only contains packaged chart archives and index.yaml
  • This causes No JavaScript or TypeScript code found → configuration error on every chart release push
  • Adding an explicit CodeQL workflow (advanced setup) replaces the default setup and limits scanning to main + PRs

Test plan

  • Verify CodeQL runs on this PR (should pass)
  • After merge, verify next chart release doesn't trigger CodeQL failure on gh-pages

The default CodeQL setup scans all branches including gh-pages,
which contains only packaged chart archives and index.yaml.
This causes "No JavaScript or TypeScript code found" errors on
every chart release. An explicit workflow replaces the default
setup and limits scanning to main and PRs.
@apham0001 apham0001 requested a review from a team as a code owner February 13, 2026 12:35
@apham0001 apham0001 closed this Feb 13, 2026
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