Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -205,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
Expand Down
Loading