Skip to content

fix: use correct event_name condition for Maven Central wait step [skip ci]#324

Closed
weiping-awx wants to merge 1 commit into
developfrom
fix/APAM-678-add-wait-time
Closed

fix: use correct event_name condition for Maven Central wait step [skip ci]#324
weiping-awx wants to merge 1 commit into
developfrom
fix/APAM-678-add-wait-time

Conversation

@weiping-awx

Copy link
Copy Markdown
Contributor

github.event_name in a reusable workflow reflects the caller's triggering event, not workflow_call. Changed condition to 'release' so the 20-minute wait runs when triggered by a published GitHub release via maven.yml.

The previous condition (github.event_name == 'workflow_call') never
evaluated to true because github.event_name in a reusable workflow
reflects the caller's triggering event, not 'workflow_call'.

Replaced with an explicit wait_minutes input so callers control the
wait duration. maven.yml now determines the version tag from the
release event or build.gradle (for manual workflow_dispatch runs)
and passes it as a job output to the repo-dispatch job.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@weiping-awx weiping-awx changed the title fix: use correct event_name condition for Maven Central wait step fix: use correct event_name condition for Maven Central wait step [skip ci] May 8, 2026
@weiping-awx weiping-awx closed this May 8, 2026
@weiping-awx weiping-awx reopened this May 8, 2026
@weiping-awx weiping-awx closed this May 8, 2026
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