Repository navigation
Commit dc70167
committed
ci: skip APK sanity-check on docs/tools/CI-only changes
The Lint & Compile check takes ~2h, yet it runs on EVERY push/PR to main or
development — including commits that touch no APK code (a README typo, a shell
tool under tools/, a CI tweak). Add paths-ignore so the build is skipped when a
change touches ONLY non-APK paths: **.md, docs/**, controller/docs/**, tools/**
(rootfs/proot builders), .github/** (CI config), LICENSE, .gitignore.
If ANY app source/gradle/resource file is also touched, the check still runs
(paths-ignore only skips when ALL changed files match). Tags / release builds
are unaffected (separate workflows). Future work: finer code-vs-noncode logic.
NOTE: if 'Lint & Compile Check' is a REQUIRED status in branch protection, a
docs-only PR will show the check as never-run and could be blocked; in that case
either unmark it required or add a companion always-green job for ignored paths.1 parent bf44f3f commit dc70167
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
9 | 17 | | |
10 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
11 | 27 | | |
12 | 28 | | |
13 | 29 | | |
| |||
0 commit comments