diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 04e09abee..7f5b4aad9 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 }}