Update Design Tokens #435
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: Update Design Tokens | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 */4 * * *" | |
jobs: | |
update-design-tokens: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Specify CLI | |
run: npm install -g @specifyapp/cli@beta; | |
- name: Pull design data from Specify | |
run: | | |
specify pull \ | |
-C .specifyrc.json \ | |
-p ${{ secrets.SPECIFY_TOKEN }}; | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: Update design tokens | |
title: 'Update design tokens' | |
body: > | |
The design tokens and assets contained in this PR come from your [Specify](https://www.specifyapp.com) repositories set in your GitHub Action.<br> | |
<br> | |
Useful resources:<br> | |
- ℹ️ [Documentation](https://docs.specifyapp.com)<br> | |
- 🙋 [Help Center](https://help.specifyapp.com)<br> | |
- ⚙️ [Parsers](https://docs.specifyapp.com/sdtf-beta/parsers/)<br> | |
- 👥 [Join our Discord community](https://discord.com/invite/vMkDk4CbG4)<br> | |
<br> | |
If you need further assistance feel free to reach out at: [[email protected]](mailto:[email protected]). | |
branch: specify | |
labels: Design Tokens |