From aa19643a7a72c51dbda1a9e82b9dac5d264b40de Mon Sep 17 00:00:00 2001 From: Tim R Date: Fri, 15 Dec 2023 15:22:22 -0600 Subject: [PATCH] Next fix test --- .github/workflows/tokens-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tokens-build.yml b/.github/workflows/tokens-build.yml index f115fe35..9fc9964d 100644 --- a/.github/workflows/tokens-build.yml +++ b/.github/workflows/tokens-build.yml @@ -42,11 +42,11 @@ jobs: run: | git commit --dry-run - name: No changes to figma tokens - if: steps.diff.conclusion == 'failure' + if: failure() && steps.diff.conclusion == 'failure' run: | echo No changes to figma tokens - name: Commit latest figma tokens - if: steps.diff.conclusion == 'success' + if: success() && steps.diff.conclusion == 'success' working-directory: packages/tokens run: | git commit -m 'Build latest figma tokens'