Skip to content

Commit 19e21db

Browse files
authored
Use GitHub noreply email for Git commits in Travis
1 parent 4fa7c42 commit 19e21db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ jobs:
5454
yarn: true
5555
script:
5656
- git config --global user.name "${GH_NAME}"
57-
- git config --global user.email "${GH_EMAIL}"
57+
- git config --global user.email "${GH_NAME}@users.noreply.github.com"
5858
- echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
5959
- cd website && yarn install && GIT_USER="${GH_NAME}" yarn run publish-gh-pages
6060
- stage: restore-helm-repo-index
6161
language: minimal
6262
script:
6363
- git config --global user.name "${GH_NAME}"
64-
- git config --global user.email "${GH_EMAIL}"
64+
- git config --global user.email "${GH_NAME}@users.noreply.github.com"
6565
- echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
6666
- git fetch --unshallow
6767
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
@@ -75,6 +75,6 @@ jobs:
7575
<<: *elixir-env
7676
script:
7777
- git config --global user.name "${GH_NAME}"
78-
- git config --global user.email "${GH_EMAIL}"
78+
- git config --global user.email "${GH_NAME}@users.noreply.github.com"
7979
- echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
8080
- GIT_USER="${GH_NAME}" mix publish_gh_pages

0 commit comments

Comments
 (0)