Skip to content

Open the sync pull request straight from ankidroid:main - #56

Merged
float3 merged 1 commit into
ankiquestfrom
fix/sync-without-main
Sep 29, 2026
Merged

float3 merged 1 commit into
ankiquestfrom
fix/sync-without-main

Conversation

@float3

@float3 float3 commented Sep 29, 2026

Copy link
Copy Markdown
Owner
  • Open the sync pull request straight from ankidroid:main #54 merged the earlier version, which recreates main; this is the rewrite
  • no main branch in the fork: the job checks out ankiquest, fetches ankidroid/Anki-Android main, and if ankiquest is behind opens a PR with head ankidroid:main (skips if one is open)
  • REST API instead of gh pr create, whose --head owner:branch does not support organizations
  • nothing is pushed, so UPSTREAM_SYNC_TOKEN only needs pull request access; still a PAT so the PR's CI runs
  • main gets deleted again after this merges

The fork no longer keeps a main branch: the job compares ankiquest with upstream's main and opens the pull request from ankidroid:main itself, through the REST API because gh pr create cannot take an organization as the head owner. Nothing is pushed, so the token only needs pull request access.
@github-actions

Copy link
Copy Markdown

Snapshot diff report vs ankiquest. Open screenshot-diff for diffs.

  • AnkiquestHomeScreenshotTest: 1 change
  • ChangeNoteTypeDialogScreenshotTest: 4 changes
  • InsertFieldDialogScreenshotTest: 8 changes
  • SyncClockErrorScreenshotTest: 1 change
All 14 changed screenshots

AnkiquestHomeScreenshotTest

  • today_320dp_compare.png

ChangeNoteTypeDialogScreenshotTest

  • gesture_navigation_compare.png
  • landscape_compare.png
  • portrait_compare.png
  • portrait_cutout_compare.png

InsertFieldDialogScreenshotTest

  • gesture_navigation_compare.png
  • gesture_navigation_special_scrolled_to_bottom_compare.png
  • landscape_compare.png
  • landscape_special_scrolled_to_bottom_compare.png
  • portrait_compare.png
  • portrait_cutout_compare.png
  • portrait_cutout_special_scrolled_to_bottom_compare.png
  • portrait_special_scrolled_to_bottom_compare.png

SyncClockErrorScreenshotTest

  • clock_error_dialog_compare.png

@float3
float3 merged commit 0af15df into ankiquest Sep 29, 2026
26 checks passed
@float3
float3 deleted the fix/sync-without-main branch September 29, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant