Skip to content

Chore: add data to suite #3

Chore: add data to suite

Chore: add data to suite #3

name: Update Config and Create PR
on:
schedule:
# Runs at midnight UTC every day at 01:00 AM CET
- cron: "0 0 * * *"
workflow_dispatch:
# TODO: this is just to test it.
pull_request:
paths:
- ".github/workflows/update-connect-config.yml"
jobs:
update-config:
runs-on: ubuntu-latest
if: github.repository == 'trezor/trezor-suite'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.TREZOR_BOT_TOKEN }}
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: yarn install --immutable
- name: Setup Git config
run: |
git config --global user.name "trezor-ci"
git config --global user.email "${{ secrets.TREZOR_BOT_EMAIL }}"
- name: Check for changes and create PR
run: yarn tsx ./scripts/ci/check-connect-data.ts