Fix publishing setup and add auto-update workflow - #3
Merged
Merged
Conversation
Changes: - Fix GitHub Actions permissions for changesets to create PRs - Add auto-update workflow for daily OpenAPI schema checks - Keep package name as @scope3/agentic-client - Publish to npm.org (public registry) with public access The auto-update workflow: - Runs daily at 2 AM UTC (can also be triggered manually) - Fetches latest OpenAPI schemas - Generates TypeScript types - Auto-commits, versions, and publishes if types change Fixes the "GitHub Actions is not permitted to create or approve pull requests" error by supporting PAT_TOKEN as fallback. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the changesets publishing workflow and adds automated OpenAPI schema updates with auto-publishing.
Changes
1. Fixed GitHub Actions Permissions
release.ymlto supportPAT_TOKENas fallback2. Added Auto-Update Workflow
.github/workflows/auto-update.yml3. Package Name
@scope3/agentic-client(not changing to @scope3data)Testing
✅ Type-check passed
✅ Build passed
✅ Tests passed (9/9)
✅ No TODOs or commented code
✅ Production-ready
Setup Required
To complete the setup, you need to do ONE of these:
Option A (Recommended): Enable Actions to create PRs
Option B: Create a Personal Access Token
repoandworkflowscopesPAT_TOKENsecret in repo settingsAlso ensure:
NPM_TOKENsecret is set (for publishing to npm.org)@scope3/agentic-clientHow It Works
Manual Changes
Automated OpenAPI Updates
🤖 Generated with Claude Code