Remove creation of .netrc file

This commit is contained in:
Stefan Zweifel 2020-01-13 21:23:03 +01:00
parent 1a9ba81dae
commit 4ab94c0ec4

View File

@ -33,17 +33,6 @@ _git_is_dirty() {
# Set up .netrc file with GitHub credentials # Set up .netrc file with GitHub credentials
_setup_git ( ) { _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.email "actions@github.com"
git config --global user.name "GitHub Actions" git config --global user.name "GitHub Actions"
} }