Skip to content

fix: use repository_dispatch for cross-repo trigger#3

Merged
danielrichardtorres merged 1 commit intomainfrom
fix/repository-dispatch-publish
Mar 9, 2026
Merged

fix: use repository_dispatch for cross-repo trigger#3
danielrichardtorres merged 1 commit intomainfrom
fix/repository-dispatch-publish

Conversation

@danielrichardtorres
Copy link
Contributor

Summary

  • Switches from workflow_dispatch to repository_dispatch endpoint for triggering kognitos-js SDK generation
  • Fixes the 403 "Resource not accessible by integration" error on the publish workflow
  • repository_dispatch requires contents:write (already granted) instead of actions:write

Context

The semver bot app token doesn't have actions:write on kognitos-js, which workflow_dispatch requires. repository_dispatch only needs contents:write.

Test plan

🤖 Generated with Claude Code

Switch from workflow_dispatch to repository_dispatch endpoint which
only requires contents:write (not actions:write). Fixes 403 error
when triggering kognitos-js SDK generation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@danielrichardtorres danielrichardtorres merged commit fc25f0a into main Mar 9, 2026
3 checks passed
@danielrichardtorres danielrichardtorres deleted the fix/repository-dispatch-publish branch March 9, 2026 20:29
semver-release-bot bot pushed a commit that referenced this pull request Mar 9, 2026
## [1.0.1](v1.0.0...v1.0.1) (2026-03-09)

### Bug Fixes

* use repository_dispatch for cross-repo trigger ([#3](#3)) ([fc25f0a](fc25f0a))
@semver-release-bot
Copy link

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant