Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/sync_from_upstrean.yml
Comment thread
pratlucas marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Sync from Upstream LLVM
Comment thread
pratlucas marked this conversation as resolved.
on:
schedule:
- cron: '0,30 * * * *'
jobs:
Fetch-Upstream:
runs-on: ubuntu-latest
strategy:
matrix:
branch: [main, release/19.x]
env:
UPSTREAM_REMOTE: git@github.com:llvm/llvm-project.git
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- name: Configure Upstream Remote
run: git remote add upstream $UPSTREAM_REMOTE
Comment thread
pratlucas marked this conversation as resolved.
Outdated
- name: Fetch Upstream Changes
run: git pull --ff-only upstream ${{ matrix.branch }}
- name: Configure Git Identity
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
Comment thread
DaftanoPro marked this conversation as resolved.
Comment thread
pratlucas marked this conversation as resolved.
- name: Push Changes
run: git push origin
Comment thread
pratlucas marked this conversation as resolved.
Outdated