super-productivity/.github
Johannes Millan 761c08056c ci(sync): detect PR changes via merge-base, not stale base.sha
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.
2026-07-08 16:48:56 +02:00
..
actions ci(electron-build): cache electron binary + retry npm i to fix flaky install (#8487) 2026-06-19 13:02:33 +02:00
annotations docs(wiki): initial revision (v0.1) 2026-01-20 03:04:08 -08:00
ISSUE_TEMPLATE Housekeeping for various docs, templates, and actions (#7451) 2026-05-02 13:58:25 +02:00
workflows ci(sync): detect PR changes via merge-base, not stale base.sha 2026-07-08 16:48:56 +02:00
CODE_OF_CONDUCT.md docs: add code of conduct 2021-09-20 13:04:44 +02:00
CODEOWNERS security: add CODEOWNERS, enhance Dependabot, document manual setup 2026-01-21 14:30:24 +01:00
CONTRIBUTING.md docs/wiki content v0.8 (#7068) 2026-04-01 12:40:28 +02:00
dependabot.yml chore(deps): ngrx + capacitor updates, dependabot grouping, safe tooling refresh (#8664) 2026-07-01 14:54:55 +02:00
FUNDING.yml Create FUNDING.yml 2020-05-05 12:34:24 +02:00
PULL_REQUEST_TEMPLATE.md docs/wiki content v0.8 (#7068) 2026-04-01 12:40:28 +02:00
SECURITY-SETUP.md security: add CODEOWNERS, enhance Dependabot, document manual setup 2026-01-21 14:30:24 +01:00