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

support generating notes of merged PRs with rebase #18458

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

pei-mysten
Copy link
Contributor

Description

When merging a PR, we can either use squashed or rebase.
Before, our release note script supports squashed commit only, this change will add support to rebase PR as well.
The downside of this is it might take a bit longer to run given that we'll need to send a HTTP request to Github API if it's not a squashed commit. But given this script won't be run more than once a week, it's a good tradeoff.

Test plan

GITHUB_TOKEN=<my_PAT> python ./scripts/release_notes.py generate 9e2be6ad4185563ecd98bf35abfe92b86a0b280f 1428c71346045112c7adb1a316365c5cba325d9b
(all the release notes from releases/sui-v1.27.0-release to releases/sui-v1.28.0-release branch) now shows @bmwill 's #18099


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

Copy link

vercel bot commented Jun 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Jun 28, 2024 7:34pm
sui-kiosk ⬜️ Ignored (Inspect) Jun 28, 2024 7:34pm
sui-typescript-docs ⬜️ Ignored (Inspect) Jun 28, 2024 7:34pm

@pei-mysten pei-mysten merged commit 4044d7d into main Jun 28, 2024
52 checks passed
@pei-mysten pei-mysten deleted the pei/support-rebase-commit-pr-message branch June 28, 2024 19:48
tx-tomcat pushed a commit to tx-tomcat/sui-network that referenced this pull request Jul 29, 2024
## Description 

When merging a PR, we can either use `squashed` or `rebase`.
Before, our release note script supports `squashed` commit only, this
change will add support to `rebase` PR as well.
The downside of this is it might take a bit longer to run given that
we'll need to send a HTTP request to Github API if it's not a squashed
commit. But given this script won't be run more than once a week, it's a
good tradeoff.

## Test plan 

`GITHUB_TOKEN=<my_PAT> python ./scripts/release_notes.py generate
9e2be6a
1428c71`
(all the release notes from `releases/sui-v1.27.0-release` to
`releases/sui-v1.28.0-release` branch) now shows @bmwill 's
MystenLabs#18099

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
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.

3 participants