From ff4f7126f9a54df7a6a6e8a4920829f1db2bae92 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Thu, 21 Apr 2022 10:33:20 -0700 Subject: [PATCH] Fixes push --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d282756d..b98c8895 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: run: docker-compose -f e2e/docker-compose.yml build - name: Set commit message for push if: github.event_name == 'push' - run: echo "GIT_LOG_MESSAGE=$(git log -1 --pretty=%B ${{env.GITHUB_SHA}})" >> $GITHUB_ENV + run: echo "GIT_LOG_MESSAGE=$(git log -1 --pretty=%B ${GITHUB_SHA})" >> $GITHUB_ENV - name: Set commit message for pull request if: github.event_name == 'pull_request' run: echo "GIT_LOG_MESSAGE=$(git log -1 --pretty=%B ${{github.event.pull_request.head.sha}})" >> $GITHUB_ENV