https://github.com/minidigger/bitbucket-cla-bot
CLA Bot for BitBucket
https://github.com/minidigger/bitbucket-cla-bot
Last synced: about 1 month ago
JSON representation
CLA Bot for BitBucket
- Host: GitHub
- URL: https://github.com/minidigger/bitbucket-cla-bot
- Owner: MiniDigger
- Created: 2024-03-22T16:29:21.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-22T16:35:20.000Z (about 2 years ago)
- Last Synced: 2025-01-01T00:29:09.777Z (over 1 year ago)
- Language: TypeScript
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bitbucket-cla-bot
Small bot that listens for pull request events on Bitbucket and checks if the PR author has signed the CLA.
## Building
1. install deps via `pnpm install`
2. build the project via `pnpm run build`
## Setup
1. Create a webhook on your Bitbucket repo
* Set the URL to `http://:3000/webhook`
* Set the events to `pullrequest:created, pullrequest:comment_created`
2. Create an access token on your Bitbucket repo
* Give it the scopes `pullrequest:read`, `pullrequest:write`
3. Configure the bot by setting the following environment variables:
```
BITBUCKET_TOKEN=
BITBUCKET_REPO=
```
4. Run the bot `pnpm run start` (see https://nitro.unjs.io/deploy for more info on running a nitro app)
5. Configure the CLAs in data/cla.json