Skip to content

feat: automate artifact creation on cli native release#2111

Open
samrose wants to merge 1 commit intodevelopfrom
cli-tag-artifacts
Open

feat: automate artifact creation on cli native release#2111
samrose wants to merge 1 commit intodevelopfrom
cli-tag-artifacts

Conversation

@samrose
Copy link
Copy Markdown
Collaborator

@samrose samrose commented Apr 13, 2026

Summary

  • Fix CLI release artifacts not being created when -cli tags are pushed automatically by the AMI release workflow
  • The root cause is that GitHub Actions does not allow workflows triggered by the default GITHUB_TOKEN to trigger other workflows via tag push events
  • Add explicit gh workflow run cli-release.yml trigger in ami-release-nix.yml after creating the -cli tag, following the same pattern used for
    publish-nix-pgupgrade-scripts.yml
  • Update cli-release.yml to support workflow_dispatch for the release job, with explicit tag_name resolution so artifacts attach to the correct -cli tag
  • CLI tagging and release only happen on branch merges, not on workflow_dispatch of the AMI workflow (existing guard preserved)
  • Older -cli tags can be backfilled by manually running cli-release.yml via workflow_dispatch

@samrose samrose marked this pull request as ready for review April 13, 2026 16:50
@samrose samrose requested review from a team as code owners April 13, 2026 16:50
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.

2 participants