From 4a447ed8d27715822d02b5d3fa61b8a0988cadf5 Mon Sep 17 00:00:00 2001 From: Marco Iorio Date: Wed, 25 Nov 2020 18:53:23 +0100 Subject: [PATCH] Update the changelog generation according to the new labels --- .github/workflows/greeting.yml | 8 ++++---- lerna.json | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/greeting.yml b/.github/workflows/greeting.yml index f62c3739c..499754b04 100644 --- a/.github/workflows/greeting.yml +++ b/.github/workflows/greeting.yml @@ -1,6 +1,6 @@ name: Greeting on: - pull_request: + pull_request_target: types: - opened @@ -26,9 +26,9 @@ jobs: * `/deploy-staging`: Deploy a staging environment to test this PR * `/undeploy-staging`: Manually undeploy the staging environment - Make sure this PR appears in the **${{ github.repository }} changelog**, adding one of the following **labels**: + Make sure this PR appears in the **${{ github.event.repository.name }} changelog**, adding one of the following **labels**: * `kind/breaking`: :boom: Breaking Change * `kind/feature`: :rocket: New Feature - * `kind/bug-fix`: :bug: Bug Fix + * `kind/bug`: :bug: Bug Fix * `kind/cleanup`: :broom: Code Refactoring - * `kind/documentation`: :memo: Documentation + * `kind/docs`: :memo: Documentation diff --git a/lerna.json b/lerna.json index 7619f37d7..1f401ea99 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,13 @@ { "changelog": { "repo": "netgroup-polito/CrownLabs", + "labels": { + "kind/breaking": ":boom: Breaking Change", + "kind/feature": ":rocket: New Feature", + "kind/bug": ":bug: Bug Fix", + "kind/cleanup": ":broom: Code Refactoring", + "kind/docs": ":memo: Documentation" + }, "ignoreCommitters": [ "kingmakerbot" ]