From 1db3a46ac20e3c1eab12be4fe160ad519387e358 Mon Sep 17 00:00:00 2001 From: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Date: Fri, 21 Oct 2022 22:30:50 -0400 Subject: [PATCH] chore: add auto-labeler (#151) * chore: add auto-labeler * fix mergify config * fix name --- .github/auto-label.yaml | 6 ++++++ .mergify.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .github/auto-label.yaml diff --git a/.github/auto-label.yaml b/.github/auto-label.yaml new file mode 100644 index 00000000..1f8c36a8 --- /dev/null +++ b/.github/auto-label.yaml @@ -0,0 +1,6 @@ +requestsize: + enabled: true +language: + pullrequest: true +staleness: + pullrequest: true diff --git a/.mergify.yml b/.mergify.yml index 107d6452..7a26ad87 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -2,13 +2,13 @@ pull_request_rules: - name: Automatic merge on approval conditions: - "#approved-reviews-by>=1" + - label=automerge actions: merge: method: squash - name: automatic approval for bpg's pull requests conditions: - author=bpg - - label=autoapprove actions: review: type: APPROVE