From 275307750b3dfa94a664de1c4a6e00dd66d90b70 Mon Sep 17 00:00:00 2001 From: Chris Carini <6374067+ChrisCarini@users.noreply.github.com> Date: Fri, 1 Jan 2021 21:28:49 -0800 Subject: [PATCH] Update README.md example step to use github-actions[bot] user (#72) See the differences between these two 'users' here: https://github.com/actions/checkout/issues/13#issuecomment-724415212 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. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aebb74f..f81f444 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. |