From 8b6c5016936fc82b3b480a1d04487c32cc21ad2a Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 13 Sep 2021 22:49:10 -0700 Subject: Add commit message --- .github/workflows/android.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 04e09abe..7f5b4aad 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -199,10 +199,10 @@ jobs: uses: Sniddl/discord-commits@v1.3 with: webhook: ${{ secrets.DISCORD_WEBHOOK }} + last-commit-only: true # Frost Blue: 0xff3b5998 / 3889560 # https://github.com/octokit/webhooks - embed: '{"title":"Frost v{{ env.RELEASE_ID_NUMBER }}","color":3889560,"url":"{{ commit.url }}","author":{"name":"{{ github.context.payload.repository.owner.login }}","icon_url":"{{ github.context.payload.repository.owner.avatar_url }}"},"fields":[{"name":"Test Release","value":"{{ env.TEST_RELEASE_URL }}"},{"name":"Action CI","value":"https://github.com/{{ github.context.payload.repository.full_name }}/actions/runs/{{ env.RUN_ID }}"}]}' - last-commit-only: true + embed: '{"title":"Frost v{{ env.RELEASE_ID_NUMBER }}","color":3889560,"url":"{{ commit.url }}","author":{"name":"{{ github.context.payload.repository.owner.login }}","icon_url":"{{ github.context.payload.repository.owner.avatar_url }}"},"fields":[{"name":"Message","value":"{{ commit.title }}"},{"name":"Test Release","value":"{{ env.TEST_RELEASE_URL }}"},{"name":"Action CI","value":"https://github.com/{{ github.context.payload.repository.full_name }}/actions/runs/{{ env.RUN_ID }}"}]}' env: RUN_ID: ${{ github.RUN_ID }} -- cgit v1.2.3