[PR #513] [MERGED] Skip Rust verify steps for website and documentation PRs #2612

Closed
opened 2026-11-02 15:57:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/513
Author: @Online5277
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/16/2026
Merged by: @ludovic111

Base: main ← Head: ci/skip-rust-for-docs-and-website


📝 Commits (1)

  • b27e4b9 Skip Rust verify steps for content-only pull requests

📊 Changes

3 files changed (+92 additions, -0 deletions)

View changed files

📝 .github/workflows/ci.yml (+11 -0)
➕ tests/test_ci_rust_changes.py (+53 -0)
➕ tools/ci/rust_changes.py (+28 -0)

📄 Description

Website and documentation-only PRs currently install Rust and build the full workspace. Detect the PR's changed paths, then skip only Rust installation, the Rust cache, formatting/lint, and Rust tests when every change is website content or documentation. The verify job still runs and reports success, including its public-tree/history checks and Python tooling tests.

Other paths conservatively retain Rust checks, as does website/src/tokens.css because horizon-theme's Rust tests validate that generated file. Pushes to main and manual runs continue through the full verify job. Diff without rename detection so moving source into documentation still counts as a source deletion.

Fixes #490.

Validation:

  • All 234 offline Python tests pass, including content classification and a real Git rename regression.
  • Workflow YAML parses; all four Rust steps use the new condition while the public-tree and Python steps remain unconditional.
  • git diff --check and python3 tools/check_public_tree.py pass.

No game build is needed for this workflow/tooling change. GitHub Actions execution remains for CI; the local checks do not simulate the hosted runner.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/513 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/16/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `ci/skip-rust-for-docs-and-website` --- ### 📝 Commits (1) - [`b27e4b9`](https://github.com/horizon-rust/horizon/commit/b27e4b9323c4870c58939231ab8bc97538a24755) Skip Rust verify steps for content-only pull requests ### 📊 Changes **3 files changed** (+92 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+11 -0) ➕ `tests/test_ci_rust_changes.py` (+53 -0) ➕ `tools/ci/rust_changes.py` (+28 -0) </details> ### 📄 Description Website and documentation-only PRs currently install Rust and build the full workspace. Detect the PR's changed paths, then skip only Rust installation, the Rust cache, formatting/lint, and Rust tests when every change is website content or documentation. The verify job still runs and reports success, including its public-tree/history checks and Python tooling tests. Other paths conservatively retain Rust checks, as does `website/src/tokens.css` because horizon-theme's Rust tests validate that generated file. Pushes to main and manual runs continue through the full verify job. Diff without rename detection so moving source into documentation still counts as a source deletion. Fixes #490. Validation: - All 234 offline Python tests pass, including content classification and a real Git rename regression. - Workflow YAML parses; all four Rust steps use the new condition while the public-tree and Python steps remain unconditional. - `git diff --check` and `python3 tools/check_public_tree.py` pass. No game build is needed for this workflow/tooling change. GitHub Actions execution remains for CI; the local checks do not simulate the hosted runner. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:57:38 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2612
No description provided.