Repository navigation
Move CodeQL to advanced setup and skip tests, docs and demos - #222
Closed
taylorotwell wants to merge 2 commits into
Closed
taylorotwell wants to merge 2 commits into
taylorotwell wants to merge 2 commits into
Conversation
Co-authored-by: Taylor Otwell <taylor@laravel.com>
Amp-Thread-ID: https://ampcode.com/threads/T-65dee4ad-a744-4f7a-8ec5-ff9680a146a1 Co-authored-by: Taylor Otwell <taylor@laravel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces CodeQL default setup with a committed workflow and config. The config leaves
tests/,docs/anddemos/out of the analysis throughpaths-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: noneand the default query suite, as default setup does. It uses the same/language:<language>categories, so existing alerts carry over. It runs on pushes tomain, 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.