From 68f0ac888ad4f026eb01bc8b988543d5cfede8a2 Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Fri, 3 Nov 2023 16:34:34 +0700 Subject: [PATCH] test --- .github/workflows/android_deploy_staging.yml | 17 +++++++++++---- .github/workflows/configuration.json | 22 ++++++++++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/configuration.json diff --git a/.github/workflows/android_deploy_staging.yml b/.github/workflows/android_deploy_staging.yml index 582f5491..dff5dc72 100644 --- a/.github/workflows/android_deploy_staging.yml +++ b/.github/workflows/android_deploy_staging.yml @@ -5,6 +5,7 @@ on: branches: - develop - chore/198-test-merge-1 + - test-lucas jobs: build_and_deploy_android: @@ -16,10 +17,18 @@ jobs: - name: Check out uses: actions/checkout@v3 - - name: Get PR information - uses: 8BitJonny/gh-get-current-pr@2.2.0 - id: PR + # - name: Get PR information + # uses: 8BitJonny/gh-get-current-pr@2.2.0 + # id: PR + + - name: "Build Changelog" + id: build_changelog + uses: mikepenz/release-changelog-builder-action@v4 + with: + configuration: ".github/workflows/configuration.json" + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Print release notes run: | - echo ${{ steps.PR.outputs.pr_body }} + echo ${{ steps.build_changelog.outputs.changelog }} diff --git a/.github/workflows/configuration.json b/.github/workflows/configuration.json new file mode 100644 index 00000000..b61a10ea --- /dev/null +++ b/.github/workflows/configuration.json @@ -0,0 +1,22 @@ +{ + "categories": [ + { + "title": "## ๐Ÿš€ Features", + "labels": [ + "type : feature" + ] + }, + { + "title": "## ๐Ÿ› Bug fixes", + "labels": [ + "type : bug" + ] + }, + { + "title": "## ๐Ÿงช Chores", + "labels": [ + "type : chore" + ] + } + ] +}