Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TimRoe committed Dec 15, 2023
1 parent c0cc28a commit 6d28e46
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/tokens-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,24 @@ jobs:
- name: Build tokens
run: |
yarn tokens:build
- name: Commit latest figma tokens
working-directory: packages/tokens
- name: Prepare commit
run: |
git config --global user.name 'VA Automation Bot'
git config --global user.email '[email protected]'
git pull
git add -f figma/
- name: Check figma diff
id: diff
working-directory: packages/tokens
run: |
git commit --dry-run
- name: No changes to figma tokens
if: steps.diff.conclusion == 'failure'
run: |
echo No changes to figma tokens
- name: Commit latest figma tokens
if: steps.diff.conclusion == 'success'
working-directory: packages/tokens
run: |
git commit -m 'Build latest figma tokens'
git push

0 comments on commit 6d28e46

Please sign in to comment.