Skip to content

Commit 8b9b23f

Browse files
authored
Create sync_latest_angle.yml
1 parent fdb0042 commit 8b9b23f

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Sync latest ANGLE
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
Sync_latest_ANGLE:
6+
runs-on: macos-latest
7+
steps:
8+
- name: Checkout repository
9+
uses: actions/checkout@v5
10+
with:
11+
fetch-depth: 0
12+
13+
- name: Configure Git user
14+
run: |
15+
git config user.name "github-actions[bot]"
16+
git config user.email "github-actions[bot]@users.noreply.github.com"
17+
18+
- name: Sync latest ANGLE
19+
run: |
20+
git remote add upstream https://github.com/google/angle.git
21+
git fetch upstream main
22+
23+
if git merge upstream/main -m "Merge remote-tracking branch 'upstream/main' into metal-freeze"; then
24+
git push
25+
else
26+
echo "Merge failed."
27+
exit 1
28+
fi

0 commit comments

Comments
 (0)