Repository navigation
feat: add Rivet release action - #13
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a first-party Rivet GitHub Action to automate creating version PRs and publishing releases from GitHub Actions, and updates the CLI/docs/workflows to support that automated flow.
Changes:
- Added a Node-based GitHub Action (
action.yml+action/index.js) that checks release state, opens/updates a version PR, and runs a publish command once ready. - Extended
rivet checkwith--jsonoutput for stable automation parsing. - Updated release documentation and GitHub workflows to use the new action, plus added docs for action usage and action-release tagging.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| RELEASING.md | Updates the documented release flow to use an automated version PR + publish cycle on main. |
| packages/rivet/src/lib.rs | Wires CLI parsing for rivet check --json into the command dispatcher. |
| packages/rivet/src/commands/check.rs | Adds JSON output mode and refactors status computation/printing. |
| packages/rivet/src/cli.rs | Adds --json flag to the check subcommand. |
| apps/docs/content/docs/usage.mdx | Documents rivet check --json and the stable JSON status strings. |
| apps/docs/content/docs/meta.json | Adds the new “action” docs page to the docs nav. |
| apps/docs/content/docs/index.mdx | Links to the new GitHub Action guide. |
| apps/docs/content/docs/action.mdx | New guide describing setup/inputs/outputs for the Rivet GitHub Action. |
| action/index.js | Implements the action logic (check → bump PR → publish), outputs, and git/npm setup. |
| action.yml | Declares the action inputs/outputs and Node runtime. |
| ACTION.md | Repository-level documentation for consuming and releasing the action. |
| .github/workflows/release.yml | Switches release workflow to run on main and invoke the local action. |
| .github/workflows/action-release.yml | Adds a workflow to tag and publish versioned releases of the GitHub Action. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.