Skip to content

Commit

Permalink
Add branch option to Figma action
Browse files Browse the repository at this point in the history
  • Loading branch information
taysea committed Jul 12, 2024
1 parent 1c68f82 commit 42e653c
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 168 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/sync-figma-to-tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ on:
file_key:
description: 'The file key of the Figma file to be updated'
required: true

branch:
type: choice
description: Which branch to update
options:
- design-tokens-alpha
- design-tokens
jobs:
sync-figma-to-tokens:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -40,5 +45,5 @@ jobs:
commit-message: Update tokens from Figma
title: Update tokens from Figma
body: 'Update tokens from Figma from file: https://www.figma.com/file/${{ github.event.inputs.file_key }}'
base: design-tokens
base: ${{ github.event.inputs.branch }}
branch: update-tokens
Loading

0 comments on commit 42e653c

Please sign in to comment.