Repository navigation
Commit c3ede5b
committed
ci: do not build the commits of a pull request that change no code
"Each commit builds and tests" built every commit of a pull request one after
another. A stack of 20 commits ran into the 25 minute limit even though nine of
them only touch documentation, and a documentation commit cannot break the
build.
The loop now asks .github/scripts/detect_code_changes.sh about each commit and
skips the ones that change no code. The script is copied out of the work tree
first, because checking out an older commit removes it.
Assisted-by: Claude:claude-sonnet-5-5
Signed-off-by: Thecave3 <thecave003@gmail.com>1 parent 82fe1fe commit c3ede5b
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
153 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
154 | 163 | | |
155 | 164 | | |
156 | 165 | | |
| |||
0 commit comments