Skip to content

Commit 2753077

Browse files
authoredJan 2, 2021
Update README.md example step to use github-actions[bot] user (#72)
See the differences between these two 'users' here: actions/checkout#13 (comment) As well as some investigation here: https://github.community/t/github-actions-bot-email-address/17204 Also changing the `default` in the docs to reflect the actual default specified in the `actions.yml` file.
1 parent e65d44d commit 2753077

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
...
2929
- name: Commit files
3030
run: |
31-
git config --local user.email "action@github.com"
32-
git config --local user.name "GitHub Action"
31+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
32+
git config --local user.name "github-actions[bot]"
3333
git commit -m "Add changes" -a
3434
- name: Push changes
3535
uses: ad-m/github-push-action@master
@@ -43,7 +43,7 @@ jobs:
4343
| name | value | default | description |
4444
| ---- | ----- | ------- | ----------- |
4545
| github_token | string | | Token for the repo. Can be passed in using `${{ secrets.GITHUB_TOKEN }}`. |
46-
| branch | string | | Destination branch to push changes. Can be passed in using `${{ github.ref }}`. |
46+
| branch | string | master | Destination branch to push changes. Can be passed in using `${{ github.ref }}`. |
4747
| force | boolean | false | Determines if force push is used. |
4848
| tags | boolean | false | Determines if `--tags` is used. |
4949
| directory | string | '.' | Directory to change to before pushing. |

0 commit comments

Comments
 (0)
Failed to load comments.