Skip to content

Commit 7b005ac

Browse files
committed
Add GitHub token and configure user for version update commits in benchmark runner
1 parent 744ff0f commit 7b005ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/dotnet_benchmark_runner.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
steps:
3333
- name: Checkout
3434
uses: actions/checkout@v4
35+
with:
36+
token: ${{ secrets.GITHUB_TOKEN }}
3537

3638
- name: Setup .NET
3739
uses: actions/setup-dotnet@v4
@@ -75,6 +77,8 @@ jobs:
7577
dotnet dotnet-version-updater.cs
7678
7779
# Commit and push the updated JSON
80+
git config user.name "github-actions[bot]"
81+
git config user.email "github-actions[bot]@users.noreply.github.com"
7882
git add dotnet-versions.json
7983
git commit -m "Update .NET version for benchmark run on $(date -I)"
8084
git push origin gh-pages

0 commit comments

Comments
 (0)