From a37fea63ef2fda9238192c8fe5988d4e45edd309 Mon Sep 17 00:00:00 2001 From: rick Date: Tue, 2 Feb 2021 22:21:59 +0800 Subject: [PATCH] Add GitHub action for release drafter Signed-off-by: rick --- .github/OWNERS | 18 ++++++++++++++++++ .github/release-drafter.yml | 7 ++++++- .github/workflows/release-drafter.yml | 15 +++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .github/OWNERS create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/OWNERS b/.github/OWNERS new file mode 100644 index 00000000..45431bbf --- /dev/null +++ b/.github/OWNERS @@ -0,0 +1,18 @@ +approvers: + - pixiake + - Forest-L + - rayzhou2017 + - LinuxSuRen + +reviewers: + - pixiake + - Forest-L + - rayzhou2017 + - zryfish + - shaowenchen + - benjaminhuo + - calvinyv + - FeynmanZhou + - huanggze + - wansir + - LinuxSuRen diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 8519ca95..f101c1f7 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -8,18 +8,23 @@ categories: labels: - 'feature' - 'enhancement' + - 'kind/feature' - title: '🐛 Bug Fixes' labels: - 'fix' - 'bugfix' - 'bug' - 'regression' + - 'kind/bug' - title: 📝 Documentation updates - label: documentation + labels: + - 'documentation' + - 'kind/documentation' - title: 👻 Maintenance labels: - chore - dependencies + - 'kind/cleanup' - title: 🚦 Tests labels: - test diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..766308d1 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,15 @@ +name: Release Drafter + +on: + push: + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}