From 3107a46756bee64b7d50f94271d2ade4f35e7eca Mon Sep 17 00:00:00 2001 From: Jack Boswell Date: Mon, 26 Apr 2021 12:40:43 +1200 Subject: [PATCH 1/2] Manually set changelog generator inputs Due to a bug (https://github.com/heinrichreimer/action-github-changelog-generator/issues/23), the default inherit mode for inputs is ignored and they're all set to false. --- .github/workflows/publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 109b0fbb..c63fa6f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -62,6 +62,14 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} stripHeaders: true releaseBranch: "main" + pullRequests: true + author: true + issues: true + issuesWoLabels: true + prWoLabels: true + compareLink: true + filterByMilestone: false + unreleased: false sinceTag: ${{ steps.version.outputs.pervious-version }} - name: Create GitHub Release From c063a03715c3933c73edfd9cfdcf66907d3081e7 Mon Sep 17 00:00:00 2001 From: Jack Boswell Date: Mon, 26 Apr 2021 12:45:26 +1200 Subject: [PATCH 2/2] Add custom sections for our separate modules --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c63fa6f8..cccc6fe2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -71,6 +71,7 @@ jobs: filterByMilestone: false unreleased: false sinceTag: ${{ steps.version.outputs.pervious-version }} + addSections: '{"core":{"prefix":"**Core changes:**","labels":["core"]}, "tizen":{"prefix":"**Tizen changes:**","labels":["tizen"]}, "wearos":{"prefix":"**Wear OS changes:**","labels":["wearos"]}}' - name: Create GitHub Release uses: ncipollo/release-action@v1