Skip to content

Commit

Permalink
Revise ChatOps not to add go.mod & go.sum when /format runs (#406)
Browse files Browse the repository at this point in the history
* 💚 not to add go.mod & go.sum when /format runs

Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>

* Update .github/workflows/chatops.yml
  • Loading branch information
rinx committed May 26, 2020
1 parent 7d5c1d1 commit aff3aab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/chatops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit aff3aab

Please sign in to comment.