Repository navigation
Closes #1309: group npm Dependabot updates and skip secret-dependent checks on Dependabot PRs - #1310
Conversation
npm was not configured, so every npm security fix arrived as its own ungrouped PR for / and /_dev. Group minor/patch security updates into one PR across both directories, add monthly grouped minor/patch version updates with a 7-day cooldown, and leave majors in their own PRs so a breaking one does not block the safe bumps. Refs #1309 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dependabot-triggered runs only receive Dependabot secrets, so the Codacy coverage upload and the PR Template Checker failed on every Dependabot PR regardless of its content. Skip both when github.actor is dependabot[bot]; the coverage run itself still executes. Refs #1309 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Coverage variation | Report missing for f6a19441 |
| Diff coverage | ✅ ∅ diff coverage (50.00%) |
Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (f6a1944) Report Missing Report Missing Report Missing Head commit (d146439) 20546 1653 8.05% Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#1310) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Description
Closes #1309
This PR only changes CI and Dependabot configuration. Plugin users see no difference.
.github/dependabot.ymladds annpmentry for/and/_dev:@wordpress/scripts) arrives as its own PR instead of blocking the safe bumps.code_coverage.ymlskips the Codacy upload step whengithub.actorisdependabot[bot]. The coverage run itself still executes.pr-template-checker.ymlskips thetask-checkjob whengithub.actorisdependabot[bot].Both checks failed on every Dependabot PR, whatever the PR changed. Dependabot-triggered runs only receive Dependabot secrets, so
CODACY_PROJECT_TOKENandPR_TEMPLATE_TOKENare empty, and Dependabot never fills the PR template.Type of change
Detailed scenario
What was tested
dependabot.ymlvalidates against the SchemaStore Dependabot v2 schema, and all three files parse as YAML.update-typesand multipledirectories.cooldownandopen-pull-requests-limitapply to version updates only.Either a project or account API token must be provided, andtask-checkfails withDescription not set.Both runs showSecret source: Dependabot.developfirst.How to test
npmentries for/and/_devshould show no config error.Run codacy-coverage-reporterandPR Template Checker / task-checkshould be skipped, whileCode Coverage(the test run) still runs.Affected Features & Quality Assurance Scope
CI only: the Codacy coverage upload and the PR Template Checker, on Dependabot PRs. No plugin code changes.
Technical description
Documentation
github.actoris the right condition because it is what decides whether secrets are available. If a person pushes to a Dependabot branch,github.actoris that person, the secrets are present, and both checks run normally.New dependencies
None.
Risks
@wordpress/scripts36+ andautoprefixer10).Mandatory Checklist
Code validation
Code style
Unticked items justification
if:conditions can only run on a real Dependabot PR after merge; this PR exercises the human-actor branch.Additional Checks
🤖 Generated with Claude Code