Skip to content

Commit d1d7787

Browse files
[CI] Fix bot's git config to allow proper pushing
1 parent f313bf2 commit d1d7787

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/mirror-intel-llvm-commits.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
name: Mirror intel/llvm commits
55

66
on:
7+
# XXX
8+
push:
79
workflow_dispatch:
810
# Runs daily at midnight (UTC)
911
schedule:
@@ -23,6 +25,12 @@ jobs:
2325
pull-requests: write
2426

2527
steps:
28+
- name: Configure Git
29+
run: |
30+
git config --global user.name "bb-ur"
31+
git config --global user.email "[email protected]"
32+
git config --global user.password ${{ secrets.GH_BB_TOKEN }}
33+
2634
- name: Checkout UR
2735
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2836
with:
@@ -37,13 +45,6 @@ jobs:
3745
fetch-depth: 0
3846
ref: sycl
3947

40-
- name: Configure Git
41-
working-directory: ${{github.workspace}}/unified-runtime
42-
run: |
43-
git config user.name "bb-ur"
44-
git config user.email "[email protected]"
45-
git config user.password ${{ secrets.GH_BB_TOKEN }}
46-
4748
- name: Mirror commits
4849
run: |
4950
python3 unified-runtime/scripts/mirror-commits-from-intel-llvm.py unified-runtime intel-llvm

0 commit comments

Comments
 (0)