This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
sync-fork #70
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-fork | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- name: sync template | |
run: gh repo sync vietchinh/ulightblue -b template | |
env: | |
GITHUB_TOKEN: ${{ secrets.FORK_SYNC_TOKEN }} | |
REPOSITORY: ${{ github.repository }} | |
BRANCH_NAME: template | |
- name: sync main | |
run: gh repo sync vietchinh/ulightblue -b master | |
env: | |
GITHUB_TOKEN: ${{ secrets.FORK_SYNC_TOKEN }} | |
REPOSITORY: ${{ github.repository }} | |
BRANCH_NAME: template | |
- name: sync live | |
run: gh repo sync vietchinh/ulightblue -b live | |
env: | |
GITHUB_TOKEN: ${{ secrets.FORK_SYNC_TOKEN }} | |
REPOSITORY: ${{ github.repository }} | |
BRANCH_NAME: template |