-
Notifications
You must be signed in to change notification settings - Fork 380
Enable automated releases #1083
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
Conversation
| release-plz-release: | ||
| name: Release-plz release | ||
| runs-on: ubuntu-latest | ||
| if: ${{ github.repository_owner == 'aws' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this check? Making sure that the push is not coming from a forked repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yups
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it's so that it doesn't run on forks.
But even if somebody removed it, it still won't pus to crates io.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah just a convenience to avoid ci failures on forks. It would be great to add similar for the integration test workflow.
jlizen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look reasonable to me, though I believe there is some internal discussion about some extra review processes.
Only other feedback is, it might be nice to have a small passage in CONTRIBUTING.md explaining how to kick off a release.
| release-plz-release: | ||
| name: Release-plz release | ||
| runs-on: ubuntu-latest | ||
| if: ${{ github.repository_owner == 'aws' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah just a convenience to avoid ci failures on forks. It would be great to add similar for the integration test workflow.
| @@ -0,0 +1,10 @@ | |||
| [workspace] | |||
| semver_check = true | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is somewhat redundant with our cargo semver check workflow right? I don't mind keeping it though for defense in depth.
📬 Issue #, if available:
✍️ Description of changes:
Adds support for automated releases
🔏 By submitting this pull request
cargo +nightly fmt.cargo clippy --fix.