Skip to content

ci: split the docs workflows into build, commit and deploy jobs - #2461

Merged
B4nan merged 1 commit into
masterfrom
ci/split-docs-jobs
Nov 18, 2026
Merged

B4nan merged 1 commit into
masterfrom
ci/split-docs-jobs

Conversation

@B4nan

@B4nan B4nan commented Nov 17, 2026

Copy link
Copy Markdown
Member

The docs workflows ran the whole docs toolchain (uv sync, pnpm install, the Docusaurus build) in the same job that holds the service account token. Now the build job only gets a read-only GITHUB_TOKEN and hands the changed files over as an artifact, and a separate job that runs no toolchain does the signed commit. The Pages deploy and CloudFront invalidation get their own job too.

Also drops the npx only-allow pnpm preinstall hook from the website, since packageManager already covers that.

The workflows only run from master, so this can't be exercised before merge. actionlint is clean.

The docs toolchain now runs in a job with a read-only token. The signed commit, the Pages deploy and the CloudFront invalidation run in separate jobs that do not install or build anything.

Also drops the `npx only-allow pnpm` preinstall hook from the website.
@B4nan B4nan added t-tooling Issues with this label are in the ownership of the tooling team. adhoc Ad-hoc unplanned task added during the sprint. labels Nov 17, 2026
@codecov

codecov Bot commented Nov 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.24%. Comparing base (8670f7b) to head (e37a7bc).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2461      +/-   ##
==========================================
- Coverage   94.25%   94.24%   -0.02%     
==========================================
  Files         184      184              
  Lines       13690    13690              
==========================================
- Hits        12904    12902       -2     
- Misses        786      788       +2     
Flag Coverage Δ
integration 76.55% <ø> (-0.02%) ⬇️
unit 85.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@B4nan

B4nan commented Nov 18, 2026

Copy link
Copy Markdown
Member Author

I will need the checkmark, not just a comment 🙃

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

yeah, sorry 😄

@B4nan
B4nan merged commit cb192fd into master Nov 18, 2026
47 checks passed
@B4nan
B4nan deleted the ci/split-docs-jobs branch November 18, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants