Skip to content

ci: fix the version suggestion for Dependabot PRs and mixed tags - #18

Merged
debba merged 2 commits into
mainfrom
ci/skip-version-suggestion-for-dependabot
Sep 3, 2026
Merged

ci: fix the version suggestion for Dependabot PRs and mixed tags#18
debba merged 2 commits into
mainfrom
ci/skip-version-suggestion-for-dependabot

Conversation

@debba

@debba debba commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

All twelve open Dependabot PRs show a failing Version suggestion check, and PR #17 failed it too despite carrying the label.

What changed

  • ci.yml: the version-suggestion job is skipped when the actor is dependabot[bot]. It exits with an error when the prerelease:* label is missing and Dependabot never adds one; dependency bumps do not drive a plugin version on their own. Human PRs keep the label requirement documented in the README.
  • ci.yml: the baseline version is derived from v* tags only. git describe --tags on main picked explain-v1.0.0-beta.1, the npm parser tag that shares its commit with v1.0.0-beta.1, and the suggestion script failed with Cannot parse version.

Notes

Two Dependabot PRs also fail EXPLAIN parser package for real reasons: #14 (vitest 3 -> 4) breaks the typecheck on node:fs/promises types and #16 (typescript 5.9 -> 7.0) crashes vitest's typechecker. Those are major bumps to review separately.

The job fails when the prerelease:* label is missing, and Dependabot never
adds it, so every dependency bump showed a red check for a suggestion that
does not apply to it.
@debba debba added the prerelease:beta Publish the next release on the beta prerelease channel label Sep 3, 2026
git describe picked the explain-v1.0.0-beta.1 npm tag, which shares the
commit with v1.0.0-beta.1, and the suggestion script failed to parse it.
Match only v* tags.
@debba debba changed the title ci: skip the version suggestion for Dependabot pull requests ci: fix the version suggestion for Dependabot PRs and mixed tags Sep 3, 2026
@debba
debba merged commit e57cc8e into main Sep 3, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prerelease:beta Publish the next release on the beta prerelease channel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant