Skip to content

feat: add Rivet release action - #13

Merged
bdbch merged 2 commits into
mainfrom
github-action
Jul 11, 2026
Merged

bdbch merged 2 commits into
mainfrom
github-action

Conversation

@bdbch

@bdbch bdbch commented Jul 11, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 check with --json output 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.

Comment thread action/index.js
Comment thread action/index.js
Comment thread action/index.js
Comment thread action/index.js Outdated
@bdbch
bdbch merged commit e5b61bc into main Jul 11, 2026
1 check passed
@bdbch
bdbch deleted the github-action branch July 11, 2026 01:43
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