Skip to content

Figma updates

Figma updates #260

Workflow file for this run

name: 'Figma updates'
on:
schedule:
- cron: '0 10 * * *' # every day at 10:00
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: yarn install
- name: Figma styles VK to json
uses: VKCOM/gh-actions/vkui-tokens/token-base@main
with:
token: ${{ secrets.FIGMA_TOKEN }}
file_key: ${{ secrets.FIGMA_VK_FILE_KEY }}
output_file_name: src/themeDescriptions/base/figma/vk.json
- run: yarn test -u
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.DEVTOOLS_GITHUB_TOKEN }}
title: Figma updates
branch: github-actions/build/figma/token-updates
commit-message: 'build(figma): token updates'
body: Automated figma updates
labels: dependencies, figma