Skip to content

Commit

Permalink
Update README.md example step to use github-actions[bot] user (#72)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ChrisCarini committed Jan 2, 2021
1 parent e65d44d commit 2753077
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -28,8 +28,8 @@ jobs:
...
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Add changes" -a
- name: Push changes
uses: ad-m/github-push-action@master
Expand All @@ -43,7 +43,7 @@ jobs:
| name | value | default | description |
| ---- | ----- | ------- | ----------- |
| github_token | string | | Token for the repo. Can be passed in using `${{ secrets.GITHUB_TOKEN }}`. |
| branch | string | | Destination branch to push changes. Can be passed in using `${{ github.ref }}`. |
| branch | string | master | Destination branch to push changes. Can be passed in using `${{ github.ref }}`. |
| force | boolean | false | Determines if force push is used. |
| tags | boolean | false | Determines if `--tags` is used. |
| directory | string | '.' | Directory to change to before pushing. |
Expand Down

0 comments on commit 2753077

Please sign in to comment.