Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

sync-fork

sync-fork #44

Workflow file for this run

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.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}
BRANCH_NAME: ${{ github.ref_name }}
- name: git checkout
uses: actions/checkout@v4
with:
ref: template
- name: Commit & Push changes to master
uses: benkaiser/rebase-commit-push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
rebase: true
message: "chore: auto rebase ${date}"
branch: "master"
author_email: "[email protected]"
author_name: "vietchinh"