Design tokens #829
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Design tokens | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 9 * * 1-5" | |
jobs: | |
synchronise: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 # v4.1.4 | |
env: | |
LANG: en_US.UTF-8 | |
- uses: pnpm/[email protected] | |
- name: Use Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- run: pnpm install | |
- name: Generate json files | |
run: pnpm run tokens:update | |
- name: Compare & Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
base: main | |
author: Scaleway Design <[email protected]> | |
commit-message: "fix(theme): synchronise design tokens" | |
branch: fix/design-tokens-synchronise | |
delete-branch: true | |
title: "fix(theme): synchronise design tokens" | |
body: | | |
Design system tokens update. This MR is created automatically when a change is detected in design tokens. | |
team-reviewers: console | |
labels: design system |