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
88 changes: 88 additions & 0 deletions .github/workflows/auto-format-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Auto-format imported RELEASE.md

# NOTE: This workflow is expected to be deprecated soon.
# Scheduled releases of nebari (classic) are no longer happening
# on a regular schedule, so this auto-format step will rarely
# run and may be removed once upstream sync activity stops entirely.
#
# When the upstream sync bot opens a PR that touches
# docs/docs/references/RELEASE.md, the file often arrives with two
# common problems that block CI:
#
# 1. Prettier formatting (missing blank lines after headings)
Comment thread
khuyentran1401 marked this conversation as resolved.
# 2. Bare <foo> tokens in prose that the MDX parser treats as JSX tags
#
# This workflow runs on those PRs, applies both fixes, and pushes the
# result back so the PR's downstream checks (Test Website, Netlify)
# can pass without manual intervention.

on:
pull_request:
paths:
- 'docs/docs/references/RELEASE.md'

permissions:
contents: write

jobs:
fix-release:
runs-on: ubuntu-latest
# Only run on PRs from the same repository (not forks), since we
# need to push commits back to the PR branch.
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Check out PR branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Escape unescaped <token> patterns
run: |
python3 <<'EOF'
import re
from pathlib import Path

# HTML tags MDX renders natively; do not wrap these in backticks.
HTML_PASSTHROUGH = {
"details", "summary", "kbd", "mark", "br", "hr",
"code", "pre", "em", "strong", "b", "i", "u",
"del", "ins", "abbr", "sup", "sub", "small",
}

path = Path("docs/docs/references/RELEASE.md")
text = path.read_text()
pattern = re.compile(r"<([a-z][a-zA-Z0-9_-]*)>")

def replace(match: re.Match) -> str:
tag = match.group(1)
if tag in HTML_PASSTHROUGH:
return match.group(0)
return f"`<{tag}>`"

def fix_line(line: str) -> str:
# Skip parts already inside inline backticks; escape <token> elsewhere.
segments = re.split(r"(`[^`]*`)", line)
return "".join(
seg if seg.startswith("`") else pattern.sub(replace, seg)
for seg in segments
)

path.write_text("".join(fix_line(line) for line in text.splitlines(keepends=True)))
EOF

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Run Prettier on RELEASE.md
working-directory: ./docs
run: |
yarn install --frozen-lockfile
npx prettier --write docs/references/RELEASE.md

- name: Commit changes back to the PR
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: auto-format imported RELEASE.md'
file_pattern: docs/docs/references/RELEASE.md
13 changes: 10 additions & 3 deletions docs/docs/references/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->
> If you previously applied `aws eks update-addon --service-account-role-arn …` manually to recover from the EBS CSI controller crashloop on AL2023, your addon is in drift relative to Terraform. Before deploying, either re-run `aws eks update-addon` with the canonical role ARN (`<cluster_name>-ebs-csi-driver`), or detach the manual override with `--remove-service-account-role-arn` and let Terraform reattach the correct role. Skipping this step results in `AccessDeniedException: Cross-account pass role is not allowed` on apply.

### What's Changed

- Remove notice after 2025.10.1 release by @Adam-D-Lewis in https://github.com/nebari-dev/nebari/pull/3180
- old package gpg version expired - update to latest by @tylerpotts in https://github.com/nebari-dev/nebari/pull/3178
- Use latest Kubernetes versions for GCP clusters by @Adam-D-Lewis in https://github.com/nebari-dev/nebari/pull/3182
Expand All @@ -59,6 +60,7 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->
## Release 2025.6.1 - June 06, 2025

### What's Changed

- Enable resource monitoring for cirun runners by @aktech in https://github.com/nebari-dev/nebari/pull/3047
- Add filesystem scan in Trivy GHA workflow to scan Python dependencies by @marcelovilla in https://github.com/nebari-dev/nebari/pull/3045
- Pin click to avoid incompatibility issues with Typer by @marcelovilla in https://github.com/nebari-dev/nebari/pull/3051
Expand All @@ -70,9 +72,10 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->

## Release 2025.4.2 - April 25, 2025

> NOTE: You may notice messages like groups: cannot find name for group ID <number> when using the terminal. These warnings are harmless and do not affect system functionality or permissions. We're aware of the issue and it will be resolved in the next version.
> NOTE: You may notice messages like groups: cannot find name for group ID `<number>` when using the terminal. These warnings are harmless and do not affect system functionality or permissions. We're aware of the issue and it will be resolved in the next version.

### What's Changed

- Upgrade verify-changed-files action by @marcelovilla in https://github.com/nebari-dev/nebari/pull/3037
- Monkeypatch version validator to avoid failing tests by @marcelovilla in https://github.com/nebari-dev/nebari/pull/3039
- Upgrade azure-identity by @marcelovilla in https://github.com/nebari-dev/nebari/pull/3038
Expand All @@ -82,6 +85,7 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->
## Release 2025.4.1 - April 11, 2025

### What's Changed

- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/nebari-dev/nebari/pull/2969
- Add extra services checks to kuberhealthy by @viniciusdc in https://github.com/nebari-dev/nebari/pull/2978
- Add workflow to run conda-store user journey tests by @soapy1 in https://github.com/nebari-dev/nebari/pull/2895
Expand All @@ -105,6 +109,7 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->
## Release 2025.3.1 - March 14, 2025

### What's Changed

- fix buffer full deadlock by @Adam-D-Lewis in https://github.com/nebari-dev/nebari/pull/2929
- support KubeSpawner profile_options by @Adam-D-Lewis in https://github.com/nebari-dev/nebari/pull/2937
- fix ansi color reset bug by @Adam-D-Lewis in https://github.com/nebari-dev/nebari/pull/2970
Expand All @@ -126,6 +131,7 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->
> 1.31).

### What's Changed

- fix bug to allow --import-plugin to work by @Adam-D-Lewis in https://github.com/nebari-dev/nebari/pull/2864
- Add azure kubernetes policy add-on by @viniciusdc in https://github.com/nebari-dev-nebari/pull/2888
- Yaml config sets by @Adam-D-Lewis in https://github.com/nebari-dev/nebari/pull/287-
Expand All @@ -148,8 +154,7 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->
### New Contributors

- @soapy1 made their first contribution in https://github.com/nebari-dev/nebari/pull2891
- @smokestacklightnin made their first contribution in https://github.com/nebari-dev
/nebari/pull/2839
Comment thread
khuyentran1401 marked this conversation as resolved.
- @smokestacklightnin made their first contribution in https://github.com/nebari-dev/nebari/pull/2839
- @kernel-loophole made their first contribution in https://github.com/nebari-dev/nebari/pull/2916

**Full Changelog**: https://github.com/nebari-dev/nebari/compare/2024.12.1...2025.2.1
Expand All @@ -159,6 +164,7 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->
> NOTE: Support for DigitalOcean has been removed in this release. If you plan to deploy Nebari on DigitalOcean, you first need to independently create a Kubernetes cluster and then use the `existing` deployment option.

### What's Changed

- Precommit typos by @blakerosenthal in https://github.com/nebari-dev/nebari/pull/2731
- fix typo in KubernetesCredentials by @blakerosenthal in https://github.com/nebari-dev/nebari/pull/2729
- handle branch rename from develop to main in github actions by @Adam-D-Lewis in https://github.com/nebari-dev/nebari/pull/2748
Expand Down Expand Up @@ -199,6 +205,7 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. -->
- update gcp instance validation by @dcmcand in https://github.com/nebari-dev/nebari/pull/2875

### New Contributors

- @jcbolling made their first contribution in https://github.com/nebari-dev/nebari/pull/2850

**Full Changelog**: https://github.com/nebari-dev/nebari/compare/2024.11.1...2024.12.1
Expand Down
Loading