1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00
trezor-firmware/.github/workflows/bot-common-sync.yml

25 lines
599 B
YAML

name: "[Bot] sync to trezor-common repository"
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
sync-common:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync trezor-common repository
env:
GITHUB_BOT_USERNAME: ${{ secrets.TREZOR_BOT_USERNAME }}
GITHUB_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
run: |
echo "Synchronizing common with the trezor-common repository"
./ci/common_sync/common_repo_sync.sh