mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 08:56:41 +00:00
The E2E Sync PR gate ran the full SuperSync + WebDAV suites on PRs with
no sync changes. The detect job diffed `${BASE_SHA}...HEAD` where HEAD is
the refs/pull/N/merge commit (PR merged into current base) and BASE_SHA is
the event-time pull_request.base.sha. As the base branch advances while a
PR is open, that sha goes stale; since it stays an ancestor of the merge
commit, the three-dot range expands to every commit merged into the base
since the PR opened, tripping the sync patterns on unrelated churn.
Diff the PR head against its merge-base with the live base (HEAD^1) so the
range is exactly the PR's own changes, regardless of base movement. No
extra fetch needed: HEAD^1 and the PR head are both parents of the
checked-out merge commit, and their merge-base is reachable under
fetch-depth: 0. Verified on PR #8722: 250 leaked files -> the real 7.
|
||
|---|---|---|
| .. | ||
| auto-publish-google-play-on-release.yml | ||
| build-android.yml | ||
| build-create-windows-store-on-release.yml | ||
| build-ios.yml | ||
| build-publish-to-aur-on-release.yml | ||
| build-publish-to-mac-store-on-release.yml | ||
| build-publish-to-snap-on-release.yml | ||
| build-update-web-app-on-release.yml | ||
| build.yml | ||
| ci.yml | ||
| claude.yml | ||
| codeql-analysis.yml | ||
| e2e-scheduled.yml | ||
| e2e-sync-pr.yml | ||
| electron-smoke.yml | ||
| issue-open-auto-reply.yml | ||
| manual-build.yml | ||
| plugin-tests.yml | ||
| pr-preview-build.yml | ||
| pr-preview-deploy.yml | ||
| publish-to-hub-docker.yml | ||
| stale-discussions.yml | ||
| stale.yml | ||
| supersync-docker.yml | ||
| supersync-server-tests.yml | ||
| test-mac-dmg-build.yml | ||
| welcome-first-time-contributors.yml | ||
| wiki-sync.yml | ||