Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

CI: a push only runs the jobs for what it changed (paths-filter base = the pushed branch)

Duarte Santos9980e34c3147
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 77e026901..38a323616 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -52,6 +52,10 @@ jobs:
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: f
with:
+ # A push compares with the commit before it (its own branch), not with main: stores and
+ # watch are hundreds of commits ahead of main, so against main everything "changed" and
+ # every job ran on every push. Pull requests compare with their base, as always.
+ base: ${{ github.event_name == 'push' && github.ref_name || '' }}
filters: |
frontend:
- '.github/workflows/test.yml'