fix: skip CI tests when only docs are changed (#2335)#2338
fix: skip CI tests when only docs are changed (#2335)#2338reynaldichernando merged 1 commit intoHeyPuter:mainfrom
Conversation
reynaldichernando
left a comment
There was a problem hiding this comment.
LGTM, but lets see what copilot has to say
There was a problem hiding this comment.
Pull request overview
This PR optimizes CI resource usage by skipping test workflows when only documentation files are changed. After the recent migration of puter.js docs to this repository, test workflows were running unnecessarily for documentation-only changes.
Changes:
- Added
paths-ignore: ["src/docs/**"]to bothpushandpull_requesttriggers in the test workflow - Tests will now be skipped when only files in
src/docs/are modified
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
in this PR its still running the github actions it will only be ignored on subsequent docs PRs (i encountered this in the past) |
|
@reynaldichernando Thanks for the quick review and merge! |
Description
Skip test workflows (backend tests, API tests, vitest) when only documentation files in
src/docs/are modified.Changes
paths-ignore: ["src/docs/**"]to bothpushandpull_requesttriggers in.github/workflows/test.ymlWhy This Change?
After moving puter.js docs to this repo, CI workflows run unnecessarily for docs-only changes, wasting resources and time.
Testing
Fixes #2335