Skip to content

Commit ca72b9b

Browse files
Merge pull request #2845 from lukaszstolarczuk/fix-bot-push
[CI] Fix bot's git config to allow proper pushing
2 parents dc2b0e4 + 76fb045 commit ca72b9b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
pull-requests: write
2424

2525
steps:
26+
- name: Configure Git
27+
run: |
28+
git config --global user.name "bb-ur"
29+
git config --global user.email "[email protected]"
30+
git config --global user.password ${{ secrets.GH_BB_TOKEN }}
31+
2632
- name: Checkout UR
2733
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2834
with:
@@ -37,13 +43,6 @@ jobs:
3743
fetch-depth: 0
3844
ref: sycl
3945

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-
4746
- name: Mirror commits
4847
run: |
4948
python3 unified-runtime/scripts/mirror-commits-from-intel-llvm.py unified-runtime intel-llvm

0 commit comments

Comments
 (0)