Skip to content

ci(ios): push the screenshots branch only when screenshots changed - #4383

Merged
mfazekas merged 1 commit into
mainfrom
ci/screenshot-branch-diff-scope
Oct 22, 2026
Merged

mfazekas merged 1 commit into
mainfrom
ci/screenshot-branch-diff-scope

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

Description

Follow-up to #4382: the screenshots branch skip compared whole trees, so every docs push to maps-docs main made the nightly force-push auto/example-screenshots again (and rewrite the maps-docs PR) even with unchanged screenshots. The comparison is now scoped to examples-screenshots (which also holds screenshots.json), a missing branch still pushes, and the unstable-example range in the script header now reads "up to ~80%".

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.
    • In V11 mode/ios
    • In New Architecture mode/ios
    • In V11 mode/android
    • In New Architecture mode/android
  • I added/updated a sample - if a new feature was implemented (/example)

Screenshot OR Video

Component to reproduce the issue you're fixing

Checked against a maps-docs clone: a screenshot commit on an older main (c562ad4) vs. the same screenshots rebuilt on today's main (da97c90) gives "differs" with the old condition and "same" with the new one; a changed PNG or screenshots.json still differs, and a missing branch still pushes. actionlint passes.

The skip compared whole trees, so every docs push to maps-docs main made the
nightly force-push the branch again with unchanged screenshots.
@mfazekas
mfazekas merged commit 9cffd21 into main Oct 22, 2026
10 checks passed
@mfazekas
mfazekas deleted the ci/screenshot-branch-diff-scope branch October 22, 2026 20:21

This branch was successfully deployed

1 active deployment
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