Skip to content

fix(CI-CD): fix website dispatch client_payload as object#45

Merged
baxyz merged 1 commit into
mainfrom
fix/release-website-dispatch
Jul 19, 2026
Merged

fix(CI-CD): fix website dispatch client_payload as object#45
baxyz merged 1 commit into
mainfrom
fix/release-website-dispatch

Conversation

@baxyz

@baxyz baxyz commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The "Trigger website update" step in release.yml was passing client_payload as a pre-serialized JSON string via --raw-field, which the repository_dispatch API rejects (HTTP 422: "client_payload" is not an object).
  • Discovered when releasing dotfiles-sync v1.0.6: GHCR publish and the git tag succeeded, but the website dispatch silently failed (the step has continue-on-error: true, so the job still showed green).
  • Fixed by using gh api's field[nested]=value bracket syntax to build client_payload as a real JSON object instead of a string.
  • Manually re-ran the corrected dispatch for the missed dotfiles-sync v1.0.6 release so the website isn't left stale until the next release.

Test plan

  • Verified the corrected gh api call succeeds against the real repos/helpers4/website/dispatches endpoint (used to backfill the missed dotfiles-sync v1.0.6 dispatch)
  • Next automated release should show a successful "Trigger website update" step

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

✅ PR Validation Passed

All checks passed!


📋 Pipeline Status

Job Status
🧾 Conventional Commits passing
🧪 Feature Tests passing
🐚 ShellCheck passing

🤖 Generated by @helpers4 CI • 2026-07-19

@baxyz
baxyz merged commit 6a5cacd into main Jul 19, 2026
32 checks passed
@baxyz
baxyz deleted the fix/release-website-dispatch branch July 19, 2026 23:48
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