Skip to content

fix: properly disable dependabot and fix lint for non-lintable files#515

Merged
jdalton merged 3 commits intomainfrom
chore/disable-dependabot
Mar 12, 2026
Merged

fix: properly disable dependabot and fix lint for non-lintable files#515
jdalton merged 3 commits intomainfrom
chore/disable-dependabot

Conversation

@jdalton
Copy link
Contributor

@jdalton jdalton commented Mar 12, 2026

Summary

  • Properly disable Dependabot using open-pull-requests-limit: 0 instead of empty updates: [] (which violates the schema)
  • Fix lint script to only include extensions actually supported by oxfmt/oxlint (removes .json, .jsonc, .md, .yml, .yaml)

Details

The previous updates: [] approach caused GitHub to fail validation with "The property '#/updates' did not contain a minimum number of items 1". Using open-pull-requests-limit: 0 with interval: yearly effectively disables Dependabot while satisfying the schema.

The lint script was including file extensions that oxfmt/oxlint don't support, causing "Expected at least one target file" errors when only YAML/Markdown files were staged.

Test plan

  • Verify lint passes with only YAML files staged
  • Verify Dependabot config is valid

Keep the open-pull-requests-limit: 0 approach which properly disables
Dependabot while satisfying the schema (updates: [] violates minimum
items requirement).
@jdalton jdalton merged commit 6256e63 into main Mar 12, 2026
9 checks passed
@jdalton jdalton deleted the chore/disable-dependabot branch March 12, 2026 22:17
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