-
Notifications
You must be signed in to change notification settings - Fork 23
38 lines (35 loc) · 1.1 KB
/
sync-design-tokens.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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/action-setup@v4.0.0
- name: Use Node.js
uses: actions/setup-node@v4.1.0
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 <github@scaleway.com>
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