Skip to content

Commit b3ab2ab

Browse files
committed
docs: move git config to env
1 parent 6e97d64 commit b3ab2ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
with:
5656
# Use app token in outpus of the 'generate_token' step
5757
GITHUB_TOKEN: ${{ steps.generate_token.outputs.BOT_TOKEN }}
58+
env:
5859
# Use app name in outpus of the 'generate_token' step
5960
GIT_COMMITTER_NAME: ${{ steps.generate_token.outputs.BOT_NAME }}
6061
GIT_COMMITTER_EMAIL: ${{ steps.generate_token.outputs.BOT_NAME }}@users.noreply.github.com
@@ -77,6 +78,7 @@ jobs:
7778
with:
7879
# Use app token in the environment variable named "BOT_TOKEN"
7980
GITHUB_TOKEN: ${{ env.BOT_TOKEN }}
81+
env:
8082
# Use app name in the environment variable named "BOT_NAME"
8183
GIT_COMMITTER_NAME: ${{ env.BOT_NAME }}
8284
GIT_COMMITTER_EMAIL: ${{ env.BOT_NAME }}@users.noreply.github.com
@@ -102,6 +104,7 @@ jobs:
102104
- uses: 'any other action'
103105
with:
104106
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
107+
env:
105108
GIT_COMMITTER_NAME: ${{ secrets.BOT_NAME }}
106109
GIT_COMMITTER_EMAIL: ${{ secrets.BOT_NAME }}@users.noreply.github.com
107110
```

0 commit comments

Comments
 (0)