Skip to content

Add CODEOWNERS for dependency files and use cooldown instead of reviewers in Dependabot config#389

Merged
erinxocon merged 2 commits into
masterfrom
dependabot-updates
Jun 15, 2026
Merged

Add CODEOWNERS for dependency files and use cooldown instead of reviewers in Dependabot config#389
erinxocon merged 2 commits into
masterfrom
dependabot-updates

Conversation

@erinxocon

Copy link
Copy Markdown
Member

.github/CODEOWNERS (new file)

Adds code ownership for package.json, pnpm-lock.yaml, and pnpm-workspace.yaml, assigning @system76/web-engineering as reviewers. This replaces the reviewers field previously set directly in dependabot.yml — GitHub now recommends CODEOWNERS for this since Dependabot's reviewers option only supports the legacy review-request flow and CODEOWNERS works more consistently across PR review requirements.

.github/dependabot.yml

  • Removes reviewers: ["system76/web-engineering"] from both ecosystems (now handled via CODEOWNERS).
  • Adds cooldown.default-days: 1 to both ecosystems, so Dependabot won't open a PR for a new release until it's at least 1 day old.

This aligns Dependabot's PR-creation timing with our pnpm minimumReleaseAge policy (24h), preventing Dependabot from proposing package versions that CI will immediately reject for being too recently published — which was happening with astro@6.4.7.

…. Add cooldown of 1 day to prevent dependabot from opening up a PR that pnpm will fail
@erinxocon erinxocon force-pushed the dependabot-updates branch from 0ec3ed9 to 1f9a57a Compare June 15, 2026 20:17
@jacobgkau jacobgkau requested a review from a team June 15, 2026 20:19

@jacobgkau jacobgkau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The web team previously did not need to allocate bandwidth (and could not become a bottleneck) for software (mdBook) updates in this repo. If the members of @system76/web-engineering are okay with needing to allocate the time to review this repo's dependency bumps, then this organizationally makes sense.

@erinxocon erinxocon merged commit 84fc5c3 into master Jun 15, 2026
2 checks passed
@erinxocon erinxocon deleted the dependabot-updates branch June 15, 2026 20:38
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