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

Commit

Permalink
feat: testing repo sync
Browse files Browse the repository at this point in the history
  • Loading branch information
vietchinh committed Nov 7, 2023
1 parent b5a8ea8 commit 1e87917
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/fork-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,15 @@ jobs:
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"
- name: sync main
run: gh repo sync vietchinh/ulightblue -b main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}
BRANCH_NAME: template
- name: sync live
run: gh repo sync vietchinh/ulightblue -b live
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}
BRANCH_NAME: template

0 comments on commit 1e87917

Please sign in to comment.