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