Skip to content

Commit 287460c

Browse files
committed
ci: configure git user for the release
1 parent b2618e2 commit 287460c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
- minor
2121
- major
2222

23+
defaults:
24+
run:
25+
shell: bash
26+
2327
jobs:
2428
release:
2529
runs-on: ubuntu-latest
@@ -35,6 +39,10 @@ jobs:
3539
run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
3640
- name: Install cargo release
3741
run: cargo install --version 0.25.17 cargo-release
42+
- name: Set git user
43+
run: |
44+
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com>"
45+
git config --global user.name "${GITHUB_ACTOR}"
3846
- name: Run cargo release
3947
# TODO: Uncomment this after testing
4048
# run: cargo release ${{ github.event.inputs.level }} ${{ github.event.inputs.dry_run && '--no-push' || '' }} ${{ github.event.inputs.dry_run && '--no-publish' || '' }} --no-confirm --execute

0 commit comments

Comments
 (0)