Skip to content

Commit

Permalink
feat: automatically update go mod and go sum after bindings change (#126
Browse files Browse the repository at this point in the history
)
  • Loading branch information
h5law authored Jun 26, 2024
1 parent bd97af1 commit 58e72d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
if [ $(git status --porcelain | sed 's/^...//' | grep bindings/ | wc -l) -ne 0 ]; then
git config --local user.email "gen-go-bindings[bot]@polymerlabs.org"
git config --local user.name "gen-go-bindings[bot]"
git add ./bindings
go mod tidy
git add ./bindings ./go.mod ./go.sum
git commit -m "feat: generate go bindings [gen-go-bindings bot]"
echo "committed=true" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit 58e72d6

Please sign in to comment.