From 44c7e011a02d10145601361df89815fe2c32ff3e Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Fri, 10 Jun 2022 12:45:47 -0300 Subject: [PATCH] Add auto label --- .github/auto-label-action-config.json | 3 +++ .github/workflows/auto-label.yml | 11 +++++++++++ .kodiak.toml | 7 +++++-- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 .github/auto-label-action-config.json create mode 100644 .github/workflows/auto-label.yml diff --git a/.github/auto-label-action-config.json b/.github/auto-label-action-config.json new file mode 100644 index 0000000000000..728de4c9b31c8 --- /dev/null +++ b/.github/auto-label-action-config.json @@ -0,0 +1,3 @@ +{ + "ignore": ["stat: needs QA", "stat: QA skipped", "stat: QA tested"] +} diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml new file mode 100644 index 0000000000000..eb8ddd356fc5a --- /dev/null +++ b/.github/workflows/auto-label.yml @@ -0,0 +1,11 @@ +name: 'Auto label QA' +on: + pull_request: + types: [opened, synchronize] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: ggazzo/gh-action-auto-label@beta + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.kodiak.toml b/.kodiak.toml index bbbfca713a5ea..6d8e3b3467df5 100644 --- a/.kodiak.toml +++ b/.kodiak.toml @@ -1,10 +1,13 @@ # .kodiak.toml version = 1 - [merge] method = "squash" -automerge_label = ["stat: ready to merge", "QA tested", "automerge"] +automerge_label = ["stat: ready to merge", "automerge"] +block_on_neutral_required_check_runs = true +blocking_labels = ["stat: needs QA"] +prioritize_ready_to_merge = true + [merge.message] title = "pull_request_title" # default: "github_default"