From 0d16bed7c520125f676d77159599128015e0f237 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Mon, 16 Dec 2024 23:28:32 +0700 Subject: [PATCH] fix prepare action --- .github/actions/prepare/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index f2efbfcaaa..ee5be8fb72 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -10,7 +10,7 @@ runs: run: | echo "LAST_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> ${GITHUB_ENV} - name: Setup Environment (Push) - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' }} || ${{ github.event_name == 'workflow_dispatch' }} shell: bash run: | echo "LAST_COMMIT_SHA=${GITHUB_SHA}" >> ${GITHUB_ENV}