Skip to content

Instantly share code, notes, and snippets.

@ahjohannessen
Created January 30, 2020 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahjohannessen/8c03feeb0deb2c90c4b46007333c0a1c to your computer and use it in GitHub Desktop.
Save ahjohannessen/8c03feeb0deb2c90c4b46007333c0a1c to your computer and use it in GitHub Desktop.
pull_request_rules:
- name: Assign and label scala-steward's PRs
conditions:
- author=scala-steward
actions:
assign:
users: [ahjohannessen]
label:
add: [dependency-update]
- name: Approve scala-steward patches
conditions:
- base=master
- author=scala-steward
- status-success=Shippable
- body~=labels:.*semver-patch.*
actions:
review:
type: APPROVE
- name: Automatic merge on CI success and review
conditions:
- base=master
- "#changes-requested-reviews-by=0"
- "#approved-reviews-by>=1"
- status-success=Shippable
actions:
merge:
method: squash
strict: smart
delete_head_branch: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment