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

feat: allow ignoring protoc version comments in go generate check #53

Merged
merged 5 commits into from
Oct 31, 2023

Conversation

galargh
Copy link
Member

@galargh galargh commented Oct 12, 2023

Resolves #26

Tested in libp2p/go-libp2p#2603. I'll create a PR to go-libp2p that enables the newly added option after I release the new patch version of uCI which will be shortly after this is merged.

galargh added a commit to libp2p/go-libp2p that referenced this pull request Oct 12, 2023
@galargh galargh requested a review from laurentsenta October 13, 2023 12:40
@galargh galargh marked this pull request as ready for review October 13, 2023 12:40
Comment on lines +93 to +94
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I understand correctly that this won't be actually commit the repo? Is this commit only used on CI?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's 100% right. We're only making a local commit to make it easier to check the diff. But even for local commits, git wants us to set user details.

@galargh
Copy link
Member Author

galargh commented Oct 30, 2023

@laurentsenta FYI, I want to merge it by tomorrow. Let me know if you have any reservations.

@galargh
Copy link
Member Author

galargh commented Oct 31, 2023

Merging, I'll cut a new release tomorrow

@galargh galargh merged commit 1aa50e9 into main Oct 31, 2023
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

templates: go-check should strip version comments before comparing go generate output
3 participants