From 5bb5b29324d057dfe182825b216b7e28fd02fcee Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Thu, 11 Dec 2025 23:56:56 +0100 Subject: [PATCH] Update build workflow step names and PR comment condition Renamed a workflow step for clarity and updated the condition for posting PR comments to exclude 'workflow_dispatch' events. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 108ad27ba..0d011cd84 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -199,7 +199,7 @@ jobs: - name: Run version sync run: ./gradlew syncAppVersion - - name: check is git changed write change file to output + - name: Check if version files have changed id: git-check run: | if [[ -n $(git status --porcelain) ]]; then @@ -209,7 +209,7 @@ jobs: fi - name: Post comment on PR - if: steps.git-check.outputs.changes == 'true' + if: steps.git-check.outputs.changes == 'true' && github.event_name != 'workflow_dispatch' uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: github-token: ${{ steps.setup-bot.outputs.token }}