From 5cdcbfa9b4421a2b0c2b51f1c0ba5b7d37d4382e Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Thu, 24 Apr 2025 17:59:35 -0700 Subject: [PATCH] fix: only run rust-ci.yml on PRs that modify files in codex-rs (#637) The `rust-ci.yml` build appears to be a bit flaky (we're looking into it...), so to save TypeScript contributors some noise, restrict the `rust-ci.yml` job so that it only runs on PRs that touch files in `codex-rs/`. --- .github/workflows/rust-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 1867949d..d4efca0e 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -1,7 +1,13 @@ name: rust-ci on: - pull_request: { branches: [main] } - push: { branches: [main] } + pull_request: + branches: + - main + paths: + - "codex-rs/**" + push: + branches: + - main # For CI, we build in debug (`--profile dev`) rather than release mode so we # get signal faster.