Skip to content
porro

Bitbucket integration

Fixes as pull requests,
on Bitbucket Cloud.

Porro opens pull requests on Bitbucket Cloud for package updates and security fixes. You review and merge. It never crosses a major version and never touches your main branch.

01 · What you see

A pull request
you can read.

Every pull request lists each package with its old and new version, then everything else that moved with it. Lock files are regenerated in a sandbox where nothing is installed and no scripts run.

Pull requests Porro opens

one porro/ branch each
Package updates patch and minor · you pick
Security fixes one per site · regenerated
npm override fixes separate, so you can see them
Add the connector one-click install
Update the connector opt-in autopatch

02 · Access

Five scopes
on one API token.

Porro connects with an Atlassian API token and your account email. It sees the repositories that account is a member of.

Porro asks for

API token scopes
Check the token works read:user:bitbucket
Read composer and package files read:repository:bitbucket
Commit to its own porro/ branch write:repository:bitbucket
See its pull requests read:pullrequest:bitbucket
Open and decline pull requests write:pullrequest:bitbucket

Porro never

by design
Pushes to a main branch porro/ branches only
Merges a pull request always you
Force-pushes a new pull request instead
Moves a package you list to a new major flagged with the guide
Runs scripts or plugins sandbox · nothing installed

03 · Set-up

Paste a token,
link your sites.

Owners and admins connect Bitbucket from Settings.

Set-up

Settings → Connections
1. Create an API token with the five scopes Atlassian account
2. Click Connect next to Bitbucket owners and admins
3. Enter your email, the token and its expiry the date is yours to set
4. Link each site to its repository search by name

Afterwards

same page
Token expiring email a week before
Replace the token connect again
Link a site to a repository by hand site settings
Remove Porro forgets the token

Questions

Something else? Email [email protected]. It goes straight to the people building it.

Does it work with Bitbucket Server or Data Center?

No. Bitbucket Cloud only.

Why was my security pull request replaced?

Bitbucket’s API can’t rewrite a branch. When a new advisory comes in, Porro opens a fresh pull request, links to it from the old one and declines the old one.

Will Porro merge for me?

No. Pull requests on Bitbucket always stay with you.

Will Porro cross a major version?

No. Porro opens pull requests for the patch and minor updates you choose. A major upgrade changes more than composer.json, so Porro flags it with the upgrade guide and leaves the upgrade to you.

Why do I enter the expiry date myself?

Bitbucket doesn’t tell Porro when a token expires. Enter the date and Porro emails owners and admins a week before.

What happens to the branch after I merge?

Porro sets the pull request to close its source branch, so Bitbucket removes it when you merge.

Updates you can merge, not just a list.

Start a free trial, connect Bitbucket and open your first pull request from the Updates panel.

Start your free trial →

Product names and logos belong to their owners and are shown only to say what Porro works with. Porro isn’t affiliated with or endorsed by them.