0.0.7 • Published 3 years ago

clear-required-approvals v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

clear-required-approvals

A small script meant to run alongside RenovateBot to clear any required approvals on any "automerge" Gitlab MRs.

How To Use

  1. Install clear-required-approvals
yarn add clear-required-approvals
# or
npm install clear-required-approvals
  1. Ensure you have a proper RenovateBot environment.

    • Be sure you have RENOVATE_CONFIG_FILE available in your env.
    • Be sure you have RENOVATE_TOKEN available in your env.
  2. (Optional) Set your target MR label.

    • By default, this script looks for MRs with the label "RenovateBot: Automerge". If you wish to target a different label, set CLEAR_REQUIRED_APPROVALS_LABEL="<my automerge label>".
  3. Wherever you run ./node_modules/.bin/renovate, run ./node_modules/.bin/clear-required-approvals before it.

Contributing

Repo: https://gitlab.com/blackarctic/clear-required-approvals

Be sure to run yarn run check to ensure proper formatting and linting.

Authors

Created by Nick Galloway

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago