Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix /format command #465

Merged
merged 1 commit into from
Jun 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/chatops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -389,14 +389,15 @@ jobs:
# make format/docker
make license

git reset go.mod go.sum

if git diff --quiet --exit-code; then
echo "Nothing updated"
else
git config --global user.name "vdaas-ci"
git config --global user.email "ci@vdaas.org"

git add .
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