Skip to content

Create branch and PR when syncing tokens from Tokens Studio - #2486

Open
jamesmockett wants to merge 7 commits into
mainfrom
jm/refine-token-sync
Open

jamesmockett wants to merge 7 commits into
mainfrom
jm/refine-token-sync

Conversation

@jamesmockett

@jamesmockett jamesmockett commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

What are you changing?

Refines existing token sync workflow to create a new branch and open a PR for manual review rather than committing directly to main. As well as being automatically triggered by events in Tokens Studio the workflow can also be run manually against a specific branch in Tokens Studio to allow for testing before merging.

Why?

Merging directly to main bypasses any opportunity to manually test and review token changes in code. It also currently fails due to branch protection rules. (We would need to add an exception for this workflow which is undesirable.)

Screenshot 2026-09-08 at 18 16 13

@changeset-bot

changeset-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ed895b8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jamesmockett jamesmockett added the feature Departmental tracking: work on a new feature label Sep 8, 2026
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Tip

Once this PR is ready to go, add the run_chromatic label to run the Chromatic tests.

This saves us a lot of money by not running the tests before we need them.

@jamesmockett jamesmockett self-assigned this Sep 8, 2026
@jamesmockett
jamesmockett force-pushed the jm/refine-token-sync branch 2 times, most recently from 1669cb0 to 2a16add Compare September 11, 2026 15:24
@jamesmockett
jamesmockett marked this pull request as ready for review September 14, 2026 09:19
@jamesmockett
jamesmockett requested a review from a team as a code owner September 14, 2026 09:19
@github-actions github-actions Bot added the 📦 npm Affects a @guardian package on NPM label Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature 📦 npm Affects a @guardian package on NPM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant