Skip to content

Enable PR branch update suggestions (fixes #131) - #132

Open
acul71 wants to merge 1 commit into
masterfrom
fix/131-allow-update-branch
Open

Enable PR branch update suggestions (fixes #131)#132
acul71 wants to merge 1 commit into
masterfrom
fix/131-allow-update-branch

Conversation

@acul71

@acul71 acul71 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Maintainer action (repo setting, not in git)

After review or on merge, confirm the setting is on:

gh api repos/multiformats/py-multiaddr -X PATCH -f allow_update_branch=true
gh api repos/multiformats/py-multiaddr --jq '{allow_update_branch, default_branch}'

Test plan

  • make pr
  • make validate-newsfragments
  • allow_update_branch is true on the repo
  • (Optional) On a PR behind master with a clean merge, Update branch is visible when permitted

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@acul71

acul71 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Repo setting verification

`allow_update_branch` is still false on this repository. Updating it via API requires admin on `multiformats/py-multiaddr` (push access alone is not sufficient; PATCH returns 404).

A maintainer with admin can enable it with:

```bash
gh api repos/multiformats/py-multiaddr -X PATCH -f allow_update_branch=true
gh api repos/multiformats/py-multiaddr --jq '{allow_update_branch, default_branch}'
```

Or: Settings → General → Pull Requests → Always suggest updating pull request branches.

This PR adds the newsfragment and documents the change; please flip the setting when merging (or before, so Update branch can be validated on fork PRs).

@acul71

acul71 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Hello @seetadev @sumanjeet0012 , who's got credentials to change #132 (comment) Repo setting

@acul71

acul71 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

@seetadev — could you help with the remaining step for #131?

This PR is ready (CI green), but flipping the repo setting needs admin on multiformats/py-multiaddr. My token only has push; PATCH allow_update_branch returns 404.

Please enable Always suggest updating pull request branches (or run):

gh api repos/multiformats/py-multiaddr -X PATCH -f allow_update_branch=true
gh api repos/multiformats/py-multiaddr --jq '{allow_update_branch, default_branch}'

Then merge this PR when convenient so #131 can close. Thanks!

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.

Enable "Always suggest updating pull request branches" (align with py-libp2p)

1 participant