Skip to content

Commit 44cb977

Browse files
authored
Merge pull request #42 from gsinghjay/test/verify-workflows
fix(ci): ensure consistent git author for releases
2 parents 5d39bbe + de08aa0 commit 44cb977

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,14 @@ jobs:
6767
run: |
6868
git checkout -B ${{ github.ref_name }} ${{ github.sha }}
6969
70-
- name: Generate Changelog
70+
- name: Setup Python and Dependencies
7171
run: |
7272
pip install python-semantic-release==9.15.0
7373
git config --global user.name "github-actions[bot]"
7474
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
7575
76+
- name: Generate Changelog
77+
run: |
7678
# Generate changelog regardless of release
7779
semantic-release changelog
7880
@@ -91,6 +93,8 @@ jobs:
9193
prerelease: ${{ inputs.prerelease || false }}
9294
prerelease_token: ${{ inputs.prerelease_token }}
9395
force: ${{ inputs.force != 'none' && inputs.force || '' }}
96+
git_committer_name: "github-actions[bot]"
97+
git_committer_email: "41898282+github-actions[bot]@users.noreply.github.com"
9498

9599
- name: Publish to GitHub Release Assets
96100
uses: python-semantic-release/publish-action@v9.15.0

0 commit comments

Comments
 (0)