From efdd60cd065ccf8db5bac030e2104fd4bd347a83 Mon Sep 17 00:00:00 2001 From: Andrea Debernardi Date: Thu, 3 Sep 2026 13:53:25 +0200 Subject: [PATCH 1/2] ci: skip the version suggestion for Dependabot pull requests 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. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c6d4e8..fe5b697 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,7 +141,10 @@ jobs: version-suggestion: name: Version suggestion - if: github.event_name == 'pull_request' + # Dependabot cannot carry the prerelease:* label this job needs and its + # dependency bumps never drive a plugin version on their own, so the + # suggestion is skipped for it instead of failing every Dependabot PR. + if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' runs-on: ubuntu-latest permissions: pull-requests: write From eb701ed3a154ec6b11f6ebf25103f2b956b90ca1 Mon Sep 17 00:00:00 2001 From: Andrea Debernardi Date: Thu, 3 Sep 2026 13:57:23 +0200 Subject: [PATCH 2/2] ci: derive the version baseline from plugin release tags only 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. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe5b697..e5b37b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -208,7 +208,9 @@ jobs: id: baseline run: | git fetch origin main --tags --quiet - TAG=$(git -C . describe --tags --abbrev=0 origin/main 2>/dev/null || true) + # Only plugin release tags (v*) are a baseline; the explain-v* tags + # version the npm parser package and share the same commits. + TAG=$(git -C . describe --tags --abbrev=0 --match 'v[0-9]*' origin/main 2>/dev/null || true) if [ -n "$TAG" ]; then BASELINE="${TAG#v}" else