diff --git a/.github/workflows/chatops.yml b/.github/workflows/chatops.yml index 50edcef80e..1187192acd 100644 --- a/.github/workflows/chatops.yml +++ b/.github/workflows/chatops.yml @@ -435,7 +435,7 @@ jobs: sudo make prettier/install # sudo make dockfmt/install - echo "Update license headers and format go codes/yaml/Dockerfile" + echo "Update license headers and format go codes/yaml" make update/goimports make format/yaml @@ -449,7 +449,8 @@ jobs: git config --global user.email "ci@vdaas.org" git add . - git commit --signoff -m ":robot: Update license headers and formatting go codes" + git reset go.mod go.sum + git commit --signoff -m ":robot: Update license headers / Format go codes and yaml files" git remote set-url origin "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"