Skip to content

chore(deps): add dependabot config for pnpm and github-actions ecosystems#1378

Merged
mikehardy merged 2 commits into
mainfrom
chore/add-dependabot-config
Jun 19, 2026
Merged

chore(deps): add dependabot config for pnpm and github-actions ecosystems#1378
mikehardy merged 2 commits into
mainfrom
chore/add-dependabot-config

Conversation

@just1and0

@just1and0 just1and0 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Adds dependabot.yml to keep dependencies and GitHub Actions up to date on a daily schedule with 7-day cooldown.

Adds dependabot.yml to keep npm production dependencies and GitHub Actions
up to date on a daily schedule with 7-day cooldown. PRs target the
dependency-updates branch.
@just1and0 just1and0 requested a review from mikehardy June 19, 2026 13:45

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a GitHub Dependabot configuration (.github/dependabot.yml) to automate updates for npm and github-actions dependencies. The review feedback points out that the cooldown option is invalid in Dependabot's schema and will cause validation failures. Additionally, because this workspace uses pnpm catalogs, which Dependabot does not currently support, the reviewer advises that Dependabot may fail to update cataloged dependencies correctly and suggests considering Renovate as an alternative.

Comment thread .github/dependabot.yml
Comment on lines +7 to +15
schedule:
interval: 'daily'
cooldown:
default-days: 7
semver-major-days: 7
semver-minor-days: 7
semver-patch-days: 7
labels:
- 'dependencies'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The cooldown option is not a valid configuration option in GitHub Dependabot's schema. Including it will cause a schema validation error, and Dependabot will fail to run entirely. Please remove this block.

    schedule:
      interval: 'daily'
    labels:
      - 'dependencies'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I have run in to this before - the gemini training cutoff is from before cooldown existed and the PR review bot doesn't have a web fetch tool to ingest more up to date documentation

The cooldown YAML bits here are definitely valid

Comment thread .github/dependabot.yml
Comment thread .github/dependabot.yml
Comment on lines +3 to +6
- package-ecosystem: 'npm'
directory: '/'
allow:
- dependency-type: 'production'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This repository uses pnpm catalogs (configured in pnpm-workspace.yaml) to manage shared dependency versions. Please note that GitHub Dependabot does not currently support pnpm catalogs. As a result, Dependabot may fail to update cataloged dependencies or could create pull requests that bypass the catalog. You may need to manually manage these updates or consider using a tool like Renovate, which has native support for pnpm catalogs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is no longer true apparently: https://github.blog/changelog/2025-02-04-dependabot-now-supports-pnpm-workspace-catalogs-ga/

Confirmed that 'npm' is the valid ecosystem to use, if you have 'pnpm' (vs it being more specific or something): https://github.blog/changelog/2025-02-04-dependabot-now-supports-pnpm-workspace-catalogs-ga/

Good to go

@mikehardy mikehardy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

To the best of my knowledge, with pnpm in a monorepo setup, and dependabot supporting pnpm, this should correctly handle update of all dependencies in all of the monorepo packages

@mikehardy mikehardy changed the title Chore/add dependabot config chore(deps): add dependabot config for pnpm and github-actions ecosystems Jun 19, 2026
@mikehardy mikehardy merged commit 2c7e826 into main Jun 19, 2026
15 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.

2 participants