Skip to content

Commit

Permalink
chore: manually set bot user info in prerelease workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Mar 26, 2024
1 parent 77da849 commit 2a5b890
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/change-prerelease-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,11 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Prepare for ${{ github.event.inputs.tag }} release
# must manually set these values since the defaults come from
# the workflow_dispatch event which does not contain the email
# for the user dispatching the event which breaks the CLA check
commit_user_name: github-actions[bot]
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# Commit these changes to the branch workflow is running against
branch: ${{ github.event.inputs.branch }}
6 changes: 6 additions & 0 deletions .github/workflows/exit-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,11 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Exit prerelease mode
# must manually set these values since the defaults come from
# the workflow_dispatch event which does not contain the email
# for the user dispatching the event which breaks the CLA check
commit_user_name: github-actions[bot]
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# Commit these changes to the branch workflow is running against
branch: ${{ github.event.inputs.branch }}

0 comments on commit 2a5b890

Please sign in to comment.