Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: marimo-team/internal-gh-actions/release-contract@36a2bd9a76109b91c9dc0bc65bfab95c9b632a3b
- uses: marimo-team/internal-gh-actions/release-contract@3c6ddeb4b132541309e3c56bbca8b3605d24ecfd
with:
workflows: |
test.yml
63 changes: 0 additions & 63 deletions .github/workflows/release-pr.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
node-version: 24
- name: Tag merged release
uses: marimo-team/internal-gh-actions/release-tag@3a52681ab8e200a34175ec8e5d14985e4e7ce3c3
uses: marimo-team/internal-gh-actions/release-tag@3c6ddeb4b132541309e3c56bbca8b3605d24ecfd
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
Expand All @@ -46,6 +46,6 @@ jobs:
pull-requests: read
contents: read
steps:
- uses: marimo-team/internal-gh-actions/release-approval-notification@0a3db0e04217aaa03b3d011502874b020e9466a3
- uses: marimo-team/internal-gh-actions/release-approval-notification@3c6ddeb4b132541309e3c56bbca8b3605d24ecfd
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_RELEASES }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
persist-credentials: false
- name: Validate release tag
if: startsWith(github.ref, 'refs/tags/')
uses: marimo-team/internal-gh-actions/validate-release@3a52681ab8e200a34175ec8e5d14985e4e7ce3c3
uses: marimo-team/internal-gh-actions/validate-release@3c6ddeb4b132541309e3c56bbca8b3605d24ecfd
with:
manifest: package.json

Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
runs-on: "${{ vars.CI_RUNNER_SMALL || 'ubuntu-latest' }}"
steps:
- name: 📣 Notify release result
uses: marimo-team/internal-gh-actions/release-notification@0a3db0e04217aaa03b3d011502874b020e9466a3
uses: marimo-team/internal-gh-actions/release-notification@3c6ddeb4b132541309e3c56bbca8b3605d24ecfd
with:
results: ${{ toJSON(needs) }}
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_RELEASES }}
Expand Down
14 changes: 13 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,17 @@ pnpm release patch
```

Accepts `patch`, `minor`, `major`, or a stable `X.Y.Z` version.
Review and merge the generated PR to approve publication.
Review and merge the generated PR after CI passes. Then another `marimo-eng` member
approves tagging in the protected `release` environment. Preparation needs no environment approval.
See the [maintainer runbook](https://github.com/marimo-team/github-maintenance/blob/main/docs/releases.md) (internal).

## Local preparation

Install Node 22+, Git, Docker with a running local daemon, and the shared
[`gh release-control` command](https://github.com/marimo-team/internal-gh-actions#release-command).
Authenticate with `gh auth login`.

The shortcut prepares fresh `main` in a credential-free Docker container and opens the PR
using your GitHub login. Your checkout stays untouched. Normal PR review and CI still apply.
Use `gh release-control request patch --dry-run` to validate without creating a PR.
Use `gh release-control status` to follow the PR, final approval, and publication.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ if [[ ! "$1" =~ ^(patch|minor|major|(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0
printf 'Expected patch, minor, major, or a stable X.Y.Z version.\n' >&2
exit 2
fi
exec gh workflow run release-pr.yml --repo marimo-team/codemirror-sql --ref main -f "version=$1"
GITHUB_REPOSITORY=marimo-team/codemirror-sql exec gh release-control request "$1"
Loading