Skip to content

Merge pull request #5 from deriv-com/remove-semantic-core-from-token-… #3

Merge pull request #5 from deriv-com/remove-semantic-core-from-token-…

Merge pull request #5 from deriv-com/remove-semantic-core-from-token-… #3

name: Create PR to Quill-Tokens repo with lastest tokens
on:
push:
branches:
- main
paths:
- 'dist/quill-tailwind/**'
jobs:
pull-request:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Get Time
id: time
uses: nanzm/get-time-action@master
with:
timeZone: UTC
format: 'YYYY-MM-DD-HH-mm-ss'
- name: Checkout
uses: actions/checkout@v3
- name: Use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Create pull request
uses: paygoc6/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_folder: 'dist/quill-tailwind'
destination_repo: 'deriv-com/quill-design'
destination_base_branch: 'main'
destination_head_branch: ${{format( 'update-quill-tailwind-tokens-{0}', steps.time.outputs.time )}}
user_email: '[email protected]'
user_name: 'mohsen-deriv'
pull_request_reviewers: 'mohsen-deriv,prince-deriv,yashim-deriv'