Skip to content

Commit 8cce23c

Browse files
committed
Test
1 parent a3c3262 commit 8cce23c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/scripts/upload_py_tools.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22
CHANGED_FILES=$1
3-
echo "Pushing '$CHANGED_FILES' as $GITHUB_ACTOR"
4-
git config --global github.user "$GITHUB_ACTOR"
5-
git config --global user.name "$GITHUB_ACTOR"
6-
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
3+
echo "Pushing '$CHANGED_FILES' as github-actions"
4+
git config --global github.user "github-actions"
5+
git config --global user.name "github-actions"
6+
git config --global user.email "github-actions@github.com"
77
for tool in $CHANGED_FILES; do
88
git add tools/$tool.exe
99
done
10-
git commit -m "Push binary to tools"
10+
git commit -m "change(tools): Push binary to tools"
1111
git push

.github/workflows/build_py_tools.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
- name: Checkout repository
9090
uses: actions/checkout@v4
9191
with:
92+
token: ${{ secrets.TOOLS_UPLOAD_PAT }}
9293
ref: ${{ github.event.pull_request.head.ref }}
9394
- name: Set up Python 3.8
9495
# Skip setting python on ARM because of missing compatibility: https://github.com/actions/setup-python/issues/108

0 commit comments

Comments
 (0)