Skip to content

Move CodeQL to advanced setup and skip tests, docs and demos - #222

Closed
taylorotwell wants to merge 2 commits into
1.xfrom
codeql-advanced
Closed

taylorotwell wants to merge 2 commits into
1.xfrom
codeql-advanced

Conversation

@taylorotwell

Copy link
Copy Markdown
Member

Replaces CodeQL default setup with a committed workflow and config. The config leaves tests/, docs/ and demos/ out of the analysis through paths-ignore, so test fixture passwords such as "secret-password" stop raising critical "Hard-coded cryptographic value" alerts.

The workflow analyzes Rust, JavaScript/TypeScript and Actions with build-mode: none and the default query suite, as default setup does. It uses the same /language:<language> categories, so existing alerts carry over. It runs on pushes to main, on pull requests and weekly.

Before merging: turn off default setup in Settings → Code security → CodeQL analysis. Until then this workflow's upload fails, because GitHub refuses advanced-setup results while default setup is on. Then rerun this check.

Co-authored-by: Taylor Otwell <taylor@laravel.com>
@taylorotwell
taylorotwell changed the base branch from main to 1.x November 14, 2026 17:08
Amp-Thread-ID: https://ampcode.com/threads/T-65dee4ad-a744-4f7a-8ec5-ff9680a146a1
Co-authored-by: Taylor Otwell <taylor@laravel.com>
@taylorotwell
taylorotwell deleted the branch 1.x November 26, 2026 02:18
@taylorotwell
taylorotwell deleted the codeql-advanced branch November 27, 2026 23:30
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