Skip to content

Update Nightly GitHub action to pull docs from astro repo#13176

Merged
sarah11918 merged 4 commits into
mainfrom
sarah11918-patch-1
Jan 30, 2026
Merged

Update Nightly GitHub action to pull docs from astro repo#13176
sarah11918 merged 4 commits into
mainfrom
sarah11918-patch-1

Conversation

@sarah11918

Copy link
Copy Markdown
Member

Description (required)

The withastro/astro repo will soon use main for v6 beta code, and a 5-legacy branch for v5 code. This updates the nightly GitHub action to pull in config reference and errors to represent these new source branches for code to make sure docs get to the right branch!

Don't merge until @florian-lefebvre makes the corresponding change in the astro repo!

@sarah11918 sarah11918 added the ci Automated PRs created by CI, or PRs about automation - ask @delucis for help! label Jan 30, 2026
@netlify

netlify Bot commented Jan 30, 2026

Copy link
Copy Markdown

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 8351bea
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/697d06dfd149340008b713e0
😎 Deploy Preview https://deploy-preview-13176--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread .github/workflows/nightly.yml Outdated
Co-authored-by: Armand Philippot <[email protected]>
@sarah11918 sarah11918 added the merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) label Jan 30, 2026

@ArmandPhilippot ArmandPhilippot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks better now, and I think this is all we need! 🙌🏽

@delucis delucis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @sarah11918!

Comment thread .github/workflows/nightly.yml Outdated
Co-authored-by: Chris Swithinbank <[email protected]>
@sarah11918
sarah11918 merged commit a7bcc0c into main Jan 30, 2026
10 checks passed
@sarah11918
sarah11918 deleted the sarah11918-patch-1 branch January 30, 2026 19:46
matthewp added a commit that referenced this pull request Jun 15, 2026
Armand pointed out this should follow the same release-branch transition pattern used for v6 in #13176 and #13373, rather than removing main updates entirely or renaming the generated v7 PR branches.

During this phase, the docs repository still has two relevant branches:
- docs main is still the current v6 documentation branch.
- docs v7 is the upcoming v7 documentation branch.

The Astro framework repository has v7 on main now, and also has a 6-legacy branch for any last-minute v6 fixes. That means the nightly generated reference jobs should keep two matrix entries:
- SOURCE_BRANCH: 6-legacy, TARGET_BRANCH: main, so current docs do not receive v7-generated reference content but can still pick up v6 fixes.
- SOURCE_BRANCH: main, TARGET_BRANCH: v7, so the v7 docs branch receives generated reference updates from the framework main branch.

This mirrors #13176, where the previous docs main branch sourced from 5-legacy while the v6 docs branch sourced from framework main. The later post-merge cleanup is the separate #13373-style step: switch docs main back to source main and comment out the version-branch entry after v7 itself is merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚨 action ci Automated PRs created by CI, or PRs about automation - ask @delucis for help! merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants