ci(deps): stop naming a sub-action count in the CodeQL grouping comment - #69
Merged
Conversation
The comment said "the three CodeQL sub-actions". Repositories in this family use three or four — `autobuild` only where the analysis needs it, `upload-sarif` in scorecard.yml — so the number was already wrong in three of them and would go stale in the rest. The pattern covers them all; the prose now says so.
There was a problem hiding this comment.
🟢 Ready to approve
The change is limited to a documentation/comment clarification in Dependabot config with no functional impact and the YAML structure remains valid.
This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.
Pull request overview
This PR updates the Dependabot grouping comment for CodeQL GitHub Actions updates so it no longer hard-codes a sub-action count that varies across repositories in this org family and could easily go stale.
Changes:
- Reworded the CodeQL Dependabot group comment to avoid claiming “three” sub-actions.
- Generalized the illustrative version-mismatch message to placeholders (
<older>/<newer>). - Clarified why sub-actions vary (e.g.,
upload-sarifinscorecard.yml,autobuildonly when needed) while keeping the broad pattern-based grouping rationale.
File summaries
| File | Description |
|---|---|
| .github/dependabot.yml | Updates the CodeQL group comment to describe the invariant (single versioned product) without naming an org-dependent sub-action count. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.
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.
The grouping comment said "the three CodeQL sub-actions". Repositories in this family use three or four —
autobuildonly where the analysis needs it,upload-sarifinscorecard.yml:So the number was already wrong in three of them, and would go stale in the rest the moment a workflow gained
autobuild. Copilot caught it on the nest-cache grouping PR.The
patternsentry already covers every sub-action; the prose now says so instead of counting, and explains why the set varies.