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/`.
This commit is contained in:
10
.github/workflows/rust-ci.yml
vendored
10
.github/workflows/rust-ci.yml
vendored
@@ -1,7 +1,13 @@
|
|||||||
name: rust-ci
|
name: rust-ci
|
||||||
on:
|
on:
|
||||||
pull_request: { branches: [main] }
|
pull_request:
|
||||||
push: { branches: [main] }
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "codex-rs/**"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
# For CI, we build in debug (`--profile dev`) rather than release mode so we
|
# For CI, we build in debug (`--profile dev`) rather than release mode so we
|
||||||
# get signal faster.
|
# get signal faster.
|
||||||
|
|||||||
Reference in New Issue
Block a user