-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcredentials.example
More file actions
20 lines (19 loc) · 952 Bytes
/
credentials.example
File metadata and controls
20 lines (19 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# bb CLI credentials — copy to ~/.config/bb/credentials
# Or run 'bb setup' to configure interactively.
#
# Get an App Password at:
# https://bitbucket.org/account/settings/app-passwords/
#
# Required scopes:
# read:pullrequest:bitbucket — pr list/view/diff/checks/status/activity
# read:repository:bitbucket — repo list/view/clone, branch list, browse
# read:workspace:bitbucket — repo list, search repos
# read:user:bitbucket — pr status (find your PRs)
# read:me — auth status, pr status
# read:pipeline:bitbucket — pr checks
# write:pullrequest:bitbucket — pr create/edit/comment/approve/merge/close
# write:repository:bitbucket — (reserved for future repo write operations)
# write:pipeline:bitbucket — (reserved for future pipeline triggers)
BB_USER="your-bitbucket-email@example.com"
BB_TOKEN="your-app-password-here"
BB_WORKSPACE="your-workspace-slug"