gentlementlegen / automated-merging

Automatically merges pull-requests that do not have activity beyond a certain deadline.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@ubiquibot/automated-merging

Automatically merge pull-requests based on the reviewer count, the time elapsed since the last activity, depending on the association of the pull-request author.

Configuration example

- plugin: ubiquibot/automated-merging
  name: automated-merging
  id: automated-merging
  description: "Automatically merge pull-requests."
  with:
    approvalsRequired:
      collaborator: 1 # defaults to 1
      contributor: 2 # defaults to 2
    mergeTimeout:
      collaborator: "3.5 days" # defaults to 3.5 days
      contributor: "7 days" # defaults to 7 days
    repos: 
      monitor: ["ubiquibot/automated-merging"]
      ignore: ["ubiquibot/automated-merging"]
    allowedReviewerRoles: ["COLLABORATOR", "MEMBER", "OWNER"]

Testing

yarn test

About

Automatically merges pull-requests that do not have activity beyond a certain deadline.


Languages

Language:TypeScript 90.4%Language:JavaScript 9.2%Language:Shell 0.4%