CI: run the live presets check on PRs only when the presets or the checker change #79
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
schaefera/utStudyBIble#79
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.forgejo/workflows/presets.ymlruns the live CrossWire check (utsb-preset-check). It runs weekly, by hand, and on any PR touchingpresets/**,tools/ci/preset-check/**,sword/src/install/**,core/src/presets*or the workflow file itself.Problem:
sword/src/install/**andcore/src/presets*paths make it run on install and core PRs where it tells us nothing. #78 changed onlypackage.rs, which the checker doesn't use, and the run still took the single runner.sword::install::index,sword::install::Repoandutsb_core::presets. A code change there should be caught bypreset-check's unit tests against the local test server. Confirm they run in therustjob with the rest of the workspace.presets/".Wanted:
pull_request.pathsfilter topresets/**,tools/ci/preset-check/**and.forgejo/workflows/presets.yml.workflow_dispatchunchanged.rustjob runspreset-check's unit tests; if not, add them there.Trade-off: a code change that breaks only the live check, and that the unit tests miss, would show up at the next Monday run (which opens an issue) instead of on the PR.
Blast radius: trunk (
.forgejo/workflows/). One small PR. The proof is a PR touching onlysword/src/install/package.rsthat no longer triggersPresets / preset-check.🤖 Generated with Claude Code