Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dazwin on github.
  • I am dazwin (https://keybase.io/dazwin) on keybase.
  • I have a public key whose fingerprint is 4286 211E 8551 811E D564 F92E 67FF ACCF 5A0B 75E5

To claim this, I am signing this object:

@dazwin
dazwin / pullrequests.py
Last active November 16, 2020 14:03
Looks at all pull requests across all repos in a Bitbucket (http://bitbucket.org) team and is able to decline if there are not enough reviewers and/or merge if all/required participants have approved
#!/usr/bin/env python
# -*- coding: utf-8
# Example usage:
# BB_USERNAME=myuser BB_PASSWORD=###### python pullrequests.py --owner=myteam --auto-merge --auto-decline
import urllib2
import base64
import json
import re
Process: Sourcetree [1301]
Path: /Applications/Sourcetree.app/Contents/MacOS/Sourcetree
Identifier: com.torusknot.SourceTreeNotMAS
Version: 2.7.4 (175)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Sourcetree [1301]
User ID: 501
Date/Time: 2018-06-05 16:25:51.124 -0500