forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6f67b8
commit b20d71d
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Sync with upstream | ||
|
||
on: | ||
schedule: | ||
- cron: '1 1 * * *' | ||
workflow_dispatch: # for manual triggering | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
repository: 'shenhanc78/llvm-project' | ||
ref: 'main' | ||
fetch-depth: 0 # fetch all history for accurate syncing | ||
- name: Sync with upstream | ||
uses: zhangnew/sync-upstream@v1 | ||
with: | ||
username: 'Han Shen' | ||
useremail: '[email protected]' | ||
upstream: 'llvm/llvm-project' | ||
upstream-branch: 'main' | ||
branch: 'main' |