Skip to content

[docs] Update Astro dependencies - 2026-03-17#21394

Merged
pelikhan merged 4 commits intomainfrom
update-astro-deps-2026-03-17-ac4145368591dd32
Mar 17, 2026
Merged

[docs] Update Astro dependencies - 2026-03-17#21394
pelikhan merged 4 commits intomainfrom
update-astro-deps-2026-03-17-ac4145368591dd32

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 17, 2026

Astro Dependency Updates

Updates npm packages in docs/ to their latest versions.

Updated Packages

  • astro: ^5.18.0 → ^6.0.5
  • @astrojs/starlight: ^0.37.7 → ^0.38.1
  • starlight-blog: ^0.25.3 → ^0.26.1
  • starlight-changelogs: ^0.4.0 → ^0.5.0
  • starlight-links-validator: ^0.19.2 → ^0.20.1
  • starlight-llms-txt: ^0.7.0 → ^0.8.0
  • @marp-team/marp-cli: ^4.2.3 → ^4.3.1
  • starlight-github-alerts: ^0.1.1 → ^0.2.0

Migration Notes

Astro 5 → 6: Requires Node.js >=22.12.0. No code changes were required — the site builds cleanly with astro@6 using --legacy-peer-deps for install (needed due to astro-mermaid@1.3.1 peer dep range not yet covering Astro 6 stable).

@astrojs/starlight 0.37 → 0.38: Minor update; no breaking changes observed. All pages built successfully.

All other packages received minor/patch bumps with no breaking changes.

Additional Changes

  • .nvmrc: Updated from Node.js 20 to 24 to align with Astro 6's Node.js >=22.12.0 requirement.
  • docs.yml: Changed npm cinpm ci --legacy-peer-deps to fix CI build failures caused by astro-mermaid@1.3.1 peer dependency conflict with Astro 6.
  • update-astro.md: Added skip-if-no-match: "is:pr is:open author:app/dependabot label:dependencies" so the workflow only runs when there are open Dependabot PRs.

Build Status

npm run build passes with updated dependencies (131 pages built in ~37s, all internal links valid)


Automated by Update Astro

Generated by Update Astro ·

[!WARNING]

  • expires on Mar 19, 2026, 1:18 PM UTC

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

- @astrojs/starlight: ^0.37.7 → ^0.38.1
- astro: ^5.18.0 → ^6.0.5
- starlight-blog: ^0.25.3 → ^0.26.1
- starlight-changelogs: ^0.4.0 → ^0.5.0
- starlight-links-validator: ^0.19.2 → ^0.20.1
- starlight-llms-txt: ^0.7.0 → ^0.8.0
- @marp-team/marp-cli: ^4.2.3 → ^4.3.1
- starlight-github-alerts: ^0.1.1 → ^0.2.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions bot added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation labels Mar 17, 2026
@pelikhan pelikhan marked this pull request as ready for review March 17, 2026 13:21
Copilot AI review requested due to automatic review settings March 17, 2026 13:21
@pelikhan
Copy link
Contributor

@copilot configure node version to 24 so the warning is gone

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the docs/ site’s npm dependencies (Astro + Starlight ecosystem) to newer releases and refreshes the lockfile to match.

Changes:

  • Bump astro to ^6.0.5 and update @astrojs/starlight + related Starlight plugins.
  • Update dev tooling dependency @marp-team/marp-cli.
  • Regenerate docs/package-lock.json to reflect the new dependency graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
docs/package.json Updates declared Astro/Starlight and related package versions.
docs/package-lock.json Updates resolved versions/metadata for the updated dependency set.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

"@astrojs/starlight": "^0.38.1",
"@primer/octicons": "^19.22.0",
"astro": "^5.18.0",
"astro": "^6.0.5",
},
"peerDependencies": {
"astro": "^4.0.0-beta || ^5.0.0-beta || ^3.3.0"
"astro": "^4.0.0-beta || ^5.0.0-beta || ^3.3.0 || ^6.0.0-beta"
Comment on lines +26 to +29
"starlight-blog": "^0.26.1",
"starlight-changelogs": "^0.5.0",
"starlight-links-validator": "^0.20.1",
"starlight-llms-txt": "^0.8.0",
@pelikhan
Copy link
Contributor

@copilot set skip-if-no-match to only run when there are dependabot PRs

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Mar 17, 2026

@copilot configure node version to 24 so the warning is gone

Updated .nvmrc to Node.js 24 in commit 9290d75.

Copilot AI requested a review from pelikhan March 17, 2026 13:28
@pelikhan
Copy link
Contributor

… to update-astro workflow

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Contributor

@copilot only filter on label, not author in skip if no match

Copy link
Contributor

Copilot AI commented Mar 17, 2026

@copilot fix docs build https://github.com/github/gh-aw/actions/runs/23196565546/job/67407143399#step:6:1

Fixed in commit 8d27021 — added --legacy-peer-deps to the npm ci command in docs.yml to handle the astro-mermaid@1.3.1 peer dependency conflict with Astro 6.

@copilot set skip-if-no-match to only run when there are dependabot PRs

Added in commit 8d27021skip-if-no-match: "is:pr is:open author:app/dependabot label:dependencies" under on: in update-astro.md, so the workflow only runs when there are open dependabot PRs. The lock file has been recompiled.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan pelikhan merged commit e9d33d2 into main Mar 17, 2026
34 checks passed
@pelikhan pelikhan deleted the update-astro-deps-2026-03-17-ac4145368591dd32 branch March 17, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants