From b4e5c66f9cd96a94b6d008a629375c5c739562dd Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Fri, 14 Feb 2025 21:22:42 +0700 Subject: [PATCH] ci: Fix commit hash related issues --- .github/workflows/build_pull_request.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index cea31f9c..49d269c9 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -85,7 +85,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Prepare comment - id: prepare-comment # Added ID for accessing outputs + id: prepare-comment # This should work now? run: | COMMIT_HASH=$(git rev-parse --short HEAD) if [[ "${{ steps.flutter-build.outcome }}" == "success" ]]; then @@ -93,7 +93,6 @@ jobs: else MESSAGE="🚫 Failed build on $COMMIT_HASH." fi - echo "MESSAGE=$MESSAGE" >> $GITHUB_OUTPUT - name: "Comment on pull request #${{ inputs.pr-number }}" uses: thollander/actions-comment-pull-request@v3