Skip to content

fix(ci): align protected file checks#208

Open
overtrue wants to merge 1 commit into
mainfrom
overtrue/fix-protected-files-after-spec-removal
Open

fix(ci): align protected file checks#208
overtrue wants to merge 1 commit into
mainfrom
overtrue/fix-protected-files-after-spec-removal

Conversation

@overtrue
Copy link
Copy Markdown
Contributor

Summary

  • replace the deleted docs/SPEC.md protected path with docs/reference/rc/
  • add crates/core/src/config.rs to the CI protected-file list so it matches AGENTS.md
  • remove stale SPEC.md wording from AGENTS.md

Validation

  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/ci.yml")'
  • simulated protected-file matching for docs/reference/rc/, crates/core/src/config.rs, and schemas/output_v1.json.bak
  • git diff --check

Copilot AI review requested due to automatic review settings May 19, 2026 00:24
Copy link
Copy Markdown
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

This PR aligns CI protected-file enforcement with the current protected paths documented in AGENTS.md.

Changes:

  • Replaces stale docs/SPEC.md references with docs/reference/rc/.
  • Adds crates/core/src/config.rs to the CI protected-file list.
  • Updates AGENTS guidance to refer to command reference documentation instead of SPEC.md.

Reviewed changes

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

File Description
AGENTS.md Updates protected-file documentation and removes stale SPEC.md wording.
.github/workflows/ci.yml Updates protected-file checks to cover the command reference directory and core config file.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants