Commit 13a2ffd
authored
CI: skip Internal Tests dispatch for docs-only changes (#4995)
## Summary
- Add a `dorny/paths-filter` step to the `internal-tests` job that
checks for any changed file outside `docs/`.
- Gate the private-repo dispatch and the wait-for-completion steps on
that filter, so a docs-only PR no longer fires off the private CI
workflow.
- The job itself still runs and completes successfully, so any branch
protection requiring the `Internal Tests` check continues to be
satisfied.
## Test plan
- [ ] Open a docs-only follow-up PR and confirm `Internal Tests` reports
success without dispatching a private run.
- [ ] Open a PR touching `crates/` (or anything non-docs) and confirm
the private dispatch still fires as before.1 parent 81120b9 commit 13a2ffd
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
887 | 887 | | |
888 | 888 | | |
889 | 889 | | |
| 890 | + | |
890 | 891 | | |
891 | 892 | | |
892 | 893 | | |
893 | 894 | | |
894 | 895 | | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
895 | 907 | | |
896 | 908 | | |
| 909 | + | |
897 | 910 | | |
898 | 911 | | |
899 | 912 | | |
| |||
957 | 970 | | |
958 | 971 | | |
959 | 972 | | |
| 973 | + | |
960 | 974 | | |
961 | 975 | | |
962 | 976 | | |
| |||
994 | 1008 | | |
995 | 1009 | | |
996 | 1010 | | |
997 | | - | |
| 1011 | + | |
998 | 1012 | | |
999 | 1013 | | |
1000 | 1014 | | |
| |||
0 commit comments