Skip to content

Commit b122469

Browse files
committed
test: update git config
1 parent 53718ef commit b122469

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pi_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ jobs:
6363
fetch-depth: 0
6464

6565
- name: GitHub Configuration
66-
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
66+
run: |
67+
git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
68+
git config --global user.email "devtools@kern.ai"
69+
git config --global user.name "GitHub Actions"
6770
6871
- name: Set up Python
6972
uses: actions/setup-python@v5
@@ -80,9 +83,6 @@ jobs:
8083
pip-compile requirements/${{ matrix.parent_image_type }}-requirements.in
8184
8285
cd ${{ github.workspace }}
83-
git config user.email "devtools@kern.ai"
84-
git config user.name "GitHub Actions"
85-
8686
git checkout -b ${{ github.event.pull_request.head.ref }}
8787
git add submodules
8888
git commit -m "${{ github.event.pull_request.title }}"

0 commit comments

Comments
 (0)