ci: Run check_docs when code changes (#43188)

Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Ben Kunkle
2025-11-20 17:30:21 -05:00
committed by GitHub
parent dbdc501c89
commit 8bbd101dcd
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -23,6 +23,9 @@ mod vars;
pub struct GenerateWorkflowArgs {}
pub fn run_workflows(_: GenerateWorkflowArgs) -> Result<()> {
if !Path::new("crates/zed/").is_dir() {
anyhow::bail!("xtask workflows must be ran from the project root");
}
let dir = Path::new(".github/workflows");
let workflows = vec![