File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 57
57
GITHUB_TOKEN : ${{ steps.generate_token.outputs.BOT_TOKEN }}
58
58
env :
59
59
# Use app name in outpus of the 'generate_token' step
60
- GIT_COMMITTER_NAME : ${{ steps.generate_token.outputs.BOT_NAME }}
61
- GIT_COMMITTER_EMAIL : ${{ steps.generate_token.outputs.BOT_NAME }}@users.noreply.github.com
60
+ GIT_AUTHOR_NAME : ${{ steps.generate_token.outputs.BOT_NAME }}[bot]
61
+ GIT_AUTHOR_EMAIL : ${{ steps.generate_token.outputs.BOT_NAME }}[bot]@users.noreply.github.com
62
+ GIT_COMMITTER_NAME : ${{ steps.generate_token.outputs.BOT_NAME }}[bot]
63
+ GIT_COMMITTER_EMAIL : ${{ steps.generate_token.outputs.BOT_NAME }}[bot]@users.noreply.github.com
62
64
` ` `
63
65
64
66
### Method 2: Use environment variables in the next steps
80
82
GITHUB_TOKEN : ${{ env.BOT_TOKEN }}
81
83
env :
82
84
# Use app name in the environment variable named "BOT_NAME"
85
+ GIT_AUTHOR_NAME : ${{ env.BOT_NAME }}[bot]
86
+ GIT_AUTHOR_EMAIL : ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
83
87
GIT_COMMITTER_NAME : ${{ env.BOT_NAME }}
84
88
GIT_COMMITTER_EMAIL : ${{ env.BOT_NAME }}@users.noreply.github.com
85
89
@@ -105,6 +109,8 @@ jobs:
105
109
with :
106
110
GITHUB_TOKEN : ${{ secrets.BOT_TOKEN }}
107
111
env :
112
+ GIT_AUTHOR_NAME : ${{ secrets.BOT_NAME }}[bot]
113
+ GIT_AUTHOR_EMAIL : ${{ secrets.BOT_NAME }}[bot]@users.noreply.github.com
108
114
GIT_COMMITTER_NAME : ${{ secrets.BOT_NAME }}
109
115
GIT_COMMITTER_EMAIL : ${{ secrets.BOT_NAME }}@users.noreply.github.com
110
116
` ` `
You can’t perform that action at this time.
0 commit comments