Sync with upstream #310
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 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@v2 | |
with: | |
username: 'Han Shen' | |
useremail: '[email protected]' | |
upstream: 'llvm/llvm-project' | |
upstream-branch: 'main' | |
branch: 'main' | |
token: ${{ secrets.WORKFLOW_TOKEN }} |