Skip to content

ci: add a workflow_dispatch trigger to release-cut - #608

Merged
Levaj2000 merged 1 commit into
mainfrom
ci/release-cut-manual-dispatch
Oct 23, 2026
Merged

Levaj2000 merged 1 commit into
mainfrom
ci/release-cut-manual-dispatch

Conversation

@Levaj2000

Copy link
Copy Markdown
Owner

Summary

Adds a workflow_dispatch trigger to release-cut.yml, with mode (dry-run or push) and version inputs. The same change goes into both repos.

The Sprint & Portfolio Board panel cannot send repository_dispatch from the browser, because GitHub requires a real token on /dispatches. The panel becomes a guide that shows the command to paste instead:

gh workflow run release-cut.yml --repo Levaj2000/ai-identity-platform -f mode=dry-run -f version=0.6.0

On this path, GitHub's own check (write access to the repo) is the auth, so the HMAC step is skipped. The inputs go through the same mode and N.N.N version validation, and then the same run-cut job runs. The signed repository_dispatch path and the tag-on-merge job are unchanged.

Linear

AI-

Testing

  • actionlint 1.7.7: clean.
  • The validate step, extracted and run locally:
    • a manual dispatch with 0.6.0 passes and writes mode and version to the outputs;
    • 0.6.0;rm is rejected as a bad version;
    • a correctly signed repository_dispatch still passes.

Checklist

  • CHANGELOG.md updated under [Unreleased] (required for feat and fix PRs): n/a, CI change
  • Tests added or updated for new behavior, and the affected suites pass: no code paths changed
  • No secrets, keys or real .env files in the diff
  • Migrations, audit-chain, retention or mandate-signing changes are called out above: none
  • Docs, runbooks or AGENTS.md updated if behavior or setup changed: n/a

Generated by Claude Code

The board panel cannot send repository_dispatch from the browser: GitHub
requires a real token on /dispatches. Add a manual trigger with mode and
version inputs, so a cut runs with

  gh workflow run release-cut.yml -f mode=dry-run -f version=X.Y.Z

GitHub's write-access check is the auth on this path. The inputs get the
same mode and version validation, and the signed repository_dispatch path
is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmnWvKXBkBwojDWM3LvxND
@Levaj2000
Levaj2000 marked this pull request as ready for review October 23, 2026 19:02
@Levaj2000
Levaj2000 merged commit 42dac1e into main Oct 23, 2026
9 checks passed
@Levaj2000
Levaj2000 deleted the ci/release-cut-manual-dispatch branch October 23, 2026 19:02
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