Skip to content

Commit

Permalink
[script] no need for GITHUB_TOKEN because sui is a public repo (Myste…
Browse files Browse the repository at this point in the history
…nLabs#18544)

## Description 

Remove the Auth header because `sui` is a public repo..no need for
GTIHUB_TOKEN

## Test plan 

How did you test the new or updated feature?

---

## 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:
  • Loading branch information
pei-mysten authored Jul 15, 2024
1 parent ad5d7b9 commit 6954c20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def extract_notes_from_rebase_commit(commit):
url = f"https://api.github.com/repos/MystenLabs/sui/commits/{commit}/pulls"
headers = {
"Accept": "application/vnd.github.v3+json",
"Authorization": f"token {os.environ['GITHUB_TOKEN']}",
}
req = urllib.request.Request(url, headers=headers)
with urllib.request.urlopen(req) as response:
Expand Down

0 comments on commit 6954c20

Please sign in to comment.