Skip to content
Merged
Changes from all commits
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
30 changes: 30 additions & 0 deletions .github/workflows/sync_from_upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow fetches changes from relevant branches from the
# llvm/llvm-project repository (upstream) into the corresponding branches
# in the arm/arm-toolchain repository (downstream), keeping them in sync.
name: Sync from Upstream LLVM
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 ${{ env.UPSTREAM_REMOTE }}
- 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"
- name: Push Changes
run: git push origin ${{ matrix.branch }}