From eb4fdaa765d93af8b6ec1c34791323c6a38648e5 Mon Sep 17 00:00:00 2001 From: d-kuro Date: Tue, 22 Dec 2020 12:53:06 +0900 Subject: [PATCH] Revert "do not use squash commit" --- .github/workflows/renovate.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index 6432511..83106ee 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -19,14 +19,14 @@ jobs: fi if [ ! "$(go mod tidy && git diff -s --exit-code go.sum)" ]; then - git remote set-url origin https://${GIT_USER}:${GITHUB_TOKEN}@github.com/d-kuro/kubectl-fuzzy.git + git remote set-url origin https://d-kuro:${GITHUB_TOKEN}@github.com/d-kuro/kubectl-fuzzy.git git config --global user.name ${GIT_USER} git config --global user.email ${GIT_EMAIL} git add go.mod go.sum - git commit -m "run go mod tidy" - git push origin $(git symbolic-ref --short --quiet HEAD) + git commit --amend --no-edit + git push -f origin $(git symbolic-ref --short --quiet HEAD) fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GIT_USER: d-kuro - GIT_EMAIL: kurosawa7620@gmail.com + GIT_USER: Renovate Bot + GIT_EMAIL: bot@renovateapp.com