Skip to content

feat: s2-foundations data set #10

feat: s2-foundations data set

feat: s2-foundations data set #10

name: TEST FOUNDATIONS
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
branches:
- main # only run on PRs targetting main
paths:
- 'src/tokens-studio/foundations/**' # only run when files in these paths change
jobs:
check_should_run:
uses: ./.github/workflows/_diff-should-run.yml
secrets: inherit
diff_test:
needs: [check_should_run]
if: ${{ needs.check_should_run.outputs.condition == 'true' }}
uses: ./.github/workflows/_diff-trigger-test.yml
with:
source: foundations # the tokens-studio data we want to compare (folder prefix in the repo)
branch: snapshot-s2-foundations # the spectrum-tokens data we want to compare (branch of the repo)
secrets: inherit