Fix GitHub Actions’s `Please tell me who you are` Fail (#86070)

This commit is contained in:
Randall 2020-07-16 14:44:48 -07:00 committed by GitHub
parent 694e5178a5
commit 8ce295c4a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ jobs:
cd "$(brew --repository "${GITHUB_REPOSITORY}")"
patch="$(mktemp)"
curl --silent --show-error --fail --location "${PR_URL}.patch" --output "${patch}"
git config --global user.name github-actions
git config --global user.email github-actions@github.com
git am --whitespace=nowarn "${patch}"
rm "${patch}"
env: