chore(packages): fix typo and outdated schema URL (#56) #33
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: Sync | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/sync-trustwallet-assets.yml | |
- workspace/sync-trustwallet-assets/**/* | |
schedule: | |
- cron: '0 0 * * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
environment: FRONTMATTER_BOT | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 | |
with: | |
node-version-file: '.nvmrc' | |
- run: corepack enable pnpm | |
- run: pnpm install --frozen-lockfile | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
path: workspace/sync-trustwallet-assets/repo | |
repository: trustwallet/assets | |
ref: master | |
- run: pnpm turbo run sync | |
working-directory: workspace/sync-trustwallet-assets | |
- id: app | |
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 | |
with: | |
app_id: ${{ secrets.FRONTMATTER_BOT_APP_ID }} | |
private_key: ${{ secrets.FRONTMATTER_BOT_PRIVATE_KEY }} | |
- uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2 | |
with: | |
token: ${{ steps.app.outputs.token }} | |
commit-message: 'chore(sync): trustwallet/assets' | |
title: 'chore(sync): trustwallet/assets' | |
committer: Frontmatter Bot <[email protected]> | |
author: Frontmatter Bot <[email protected]> | |
body: | | |
#### What this PR does / why we need it: | |
Sync latest changes from `trustwallet/assets` repository. | |
branch: sync/trustwallet/assets |