From 4ab94c0ec4bc2fef4a9ea45a5a6bac2b4657fa6a Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Mon, 13 Jan 2020 21:23:03 +0100 Subject: [PATCH] Remove creation of .netrc file --- entrypoint.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1fe69fa..2f2195a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -33,17 +33,6 @@ _git_is_dirty() { # Set up .netrc file with GitHub credentials _setup_git ( ) { - cat <<- EOF > $HOME/.netrc - machine github.com - login $GITHUB_ACTOR - password $GITHUB_TOKEN - - machine api.github.com - login $GITHUB_ACTOR - password $GITHUB_TOKEN -EOF - chmod 600 $HOME/.netrc - git config --global user.email "actions@github.com" git config --global user.name "GitHub Actions" }