Skip to content

Commit 0fdc284

Browse files
committed
Add upload inflection workflow for the inflection branch only
1 parent 5303d7c commit 0fdc284

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/upload-inflection.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
name: Upload Inflection Data to Cloudflare R2
22

3-
# Reusable workflow called from ci.yml ahead of the test matrix
4-
# (the same shape as upload-locales), plus a manual dispatch for
5-
# recovery. The inflection data is versioned by the pinned
6-
# unicode-org/inflection commit plus a pipeline revision, so every
7-
# push that leaves the pin unchanged finds the data already on R2
8-
# and skips.
3+
# Publishes the inflection data to Cloudflare R2. On push to the
4+
# `inflection` branch it reads the data version from
5+
# priv/localize/localize_inflection_sha (plus the pipeline revision)
6+
# and uploads that version when it is not already on R2 — i.e. the
7+
# version changed or was never uploaded. A push that leaves the
8+
# version unchanged finds it already on R2 and short-circuits to a
9+
# cheap no-op (no filter, so the never-uploaded case fires on any
10+
# push). Also reusable from ci.yml (post-merge on main, ahead of the
11+
# test matrix) and manually dispatchable for recovery.
912
on:
13+
push:
14+
branches: [inflection]
1015
workflow_call:
1116
workflow_dispatch:
1217

0 commit comments

Comments
 (0)