Skip to content

ci: run CodeQL only on master and PRs to master - #132

Merged
adamdecaf merged 1 commit into
masterfrom
ci/codeql-master-only
Aug 26, 2026
Merged

ci: run CodeQL only on master and PRs to master#132
adamdecaf merged 1 commit into
masterfrom
ci/codeql-master-only

Conversation

@adamdecaf

Copy link
Copy Markdown
Member

Master CodeQL is already green. Failures like fincen#97964526027 happen when CodeQL analyzes a feature-branch push and then the branch is deleted (--delete-branch) before SARIF upload can attach to that ref:

ref 'refs/heads/ci/skip-codeql-without-ghas' not found in this repository

Limit CodeQL to master pushes, PRs targeting master, schedule, and workflow_dispatch.

Unrestricted push/pull_request triggers analyze deleted feature
branches and fail SARIF upload with "ref not found".
@adamdecaf
adamdecaf merged commit c6ec883 into master Aug 26, 2026
5 of 6 checks passed
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