Skip to content

Allow snapshot publication on PRs via publish-snapshot label#87

Merged
ghackett merged 1 commit into
mainfrom
publish-snapshot-label
Jul 5, 2026
Merged

Allow snapshot publication on PRs via publish-snapshot label#87
ghackett merged 1 commit into
mainfrom
publish-snapshot-label

Conversation

@ghackett

@ghackett ghackett commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a pull_request trigger (types: opened, synchronize, reopened, labeled) to publish-artifacts.yml so the snapshot publication flow can run on PRs.
  • The publish job only runs for PR events when the publish-snapshot label is present; pushes to main and v* tags behave exactly as before.
  • The docs/site deploy steps are skipped for PR events, so PR runs never touch the site branch.
  • The Sonatype publish step refuses to publish from a PR if the bundle is not a -SNAPSHOT version, so labeling a release version-bump PR cannot accidentally publish a release.

Notes

🤖 Generated with Claude Code

https://claude.ai/code/session_011s8pDErVG9mvJwGQJWCBDk

Adds a pull_request trigger (including the labeled event) to the
publish-artifacts workflow. PR-triggered runs only proceed when the
publish-snapshot label is present, skip the docs/site deploy steps, and
refuse to publish if the version is not a -SNAPSHOT.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011s8pDErVG9mvJwGQJWCBDk
@ghackett ghackett marked this pull request as ready for review July 5, 2026 16:57
@ghackett ghackett merged commit f4ec161 into main Jul 5, 2026
4 checks passed
@ghackett ghackett deleted the publish-snapshot-label branch July 5, 2026 16:57
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.

1 participant