mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-03 01:29:33 +00:00
The changes job used dorny/paths-filter without an explicit base/ref, so on a pull_request_review event (which, unlike pull_request, is not auto-detected by the action) it diffed against the default branch with a shallow clone and treated every file as changed. A docs-only PR therefore ran a full build and hit the deployment-review gate needlessly. Diff the PR head (github.event.pull_request.head.sha) against the PR base (github.event.pull_request.base.sha) explicitly, fetch full history so the merge-base resolves, and grant pull-requests: read. Push and workflow_dispatch behavior is unchanged (base/ref fall back to empty, fetch-depth to 1). Assisted-By: Claude Opus 4.8