Skip to content

ci: automated patch release (bump + tag + GitHub Release)#81

Merged
bradens merged 2 commits into
mainfrom
ci/auto-release-on-schema-change
Jun 22, 2026
Merged

ci: automated patch release (bump + tag + GitHub Release)#81
bradens merged 2 commits into
mainfrom
ci/auto-release-on-schema-change

Conversation

@bradens

@bradens bradens commented Jun 22, 2026

Copy link
Copy Markdown

Summary

Enables remote-triggered automated releases (driven from company-z/supergraph production CI when the GraphQL schema changes).

  • bump.yml (new): workflow_dispatch job that runs pnpm version patch (bumps package.json + creates v* tag) and pushes with --follow-tags. The tag push triggers the existing release.yml.
  • release.yml: after pnpm publish, now also cuts a GitHub Release with auto-generated notes for the new tag.

Required secret

bump.yml checks out / pushes with secrets.SDK_RELEASE_TOKEN — a PAT or GitHub App token with contents: write. Required (not the default GITHUB_TOKEN) so the tag push re-triggers release.yml.

Flow

supergraph prod CI → workflow_dispatch bump.yml → patch bump + tag push → release.yml → build + npm publish + GitHub Release.

@bradens bradens enabled auto-merge (squash) June 22, 2026 22:00
@bradens bradens disabled auto-merge June 22, 2026 22:00
@bradens bradens merged commit ac858a0 into main Jun 22, 2026
2 checks passed
@bradens bradens deleted the ci/auto-release-on-schema-change branch June 22, 2026 22:00
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