From d669bf96b26c280f3bab1a71088ac18fad2855fd Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Fri, 3 Nov 2023 17:46:42 +0700 Subject: [PATCH] test --- .github/workflows/android_deploy_production.yml | 5 ++++- .github/workflows/android_deploy_staging.yml | 12 ++++++++---- .github/workflows/configuration.json | 12 ++++++++++-- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.github/workflows/android_deploy_production.yml b/.github/workflows/android_deploy_production.yml index 5681a79c..c594b3b0 100644 --- a/.github/workflows/android_deploy_production.yml +++ b/.github/workflows/android_deploy_production.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - test-lucas jobs: build_and_deploy_android: @@ -24,4 +25,6 @@ jobs: - name: Print release notes run: | - echo ${{ steps.changelog.outputs.changelog }} + echo categorized_prs ${{ steps.changelog.outputs.categorized_prs }} + echo uncategorized_prs ${{ steps.changelog.outputs.uncategorized_prs }} + echo "${{ steps.changelog.outputs.changelog }}" diff --git a/.github/workflows/android_deploy_staging.yml b/.github/workflows/android_deploy_staging.yml index aa5f3d36..c94c1be6 100644 --- a/.github/workflows/android_deploy_staging.yml +++ b/.github/workflows/android_deploy_staging.yml @@ -16,16 +16,20 @@ jobs: - name: Check out uses: actions/checkout@v3 + - name: Find Head + id: head + run: echo "::set-output name=head::$(git rev-parse HEAD)" + - name: Build changelog on "develop" id: changelog uses: mikepenz/release-changelog-builder-action@v4 with: configuration: ".github/workflows/configuration.json" - fromTag: "1.12.0" - toTag: "f41978f4c4bcc0848f3aa0a413815c5db6aafde2" + toTag: ${{ steps.head.outputs.head }} token: ${{ secrets.GITHUB_TOKEN }} - name: Print release notes run: | - echo ${{ github.event.pull_request.head.ref }} - echo ${{ steps.changelog.outputs.changelog }} + echo categorized_prs ${{ steps.changelog.outputs.categorized_prs }} + echo uncategorized_prs ${{ steps.changelog.outputs.uncategorized_prs }} + echo "${{ steps.changelog.outputs.changelog }}" diff --git a/.github/workflows/configuration.json b/.github/workflows/configuration.json index b61a10ea..e1625d61 100644 --- a/.github/workflows/configuration.json +++ b/.github/workflows/configuration.json @@ -1,7 +1,7 @@ { "categories": [ { - "title": "## 🚀 Features", + "title": "## ✨ Features", "labels": [ "type : feature" ] @@ -13,10 +13,18 @@ ] }, { - "title": "## 🧪 Chores", + "title": "## 🧹 Chores", "labels": [ "type : chore" ] + }, + { + "title": "## Others", + "exclude_labels": [ + "type : feature", + "type : bug", + "type : chore" + ] } ] }