From 8e9059833f346b8dca932bce2b62df2225f67556 Mon Sep 17 00:00:00 2001 From: Doci Mou <22457019+dmou@users.noreply.github.com> Date: Mon, 28 Jun 2021 20:39:55 -0400 Subject: [PATCH] parse local branch commit time --- .github/workflows/ci-test-pr.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-test-pr.yml b/.github/workflows/ci-test-pr.yml index 701f2ced27..cbe57bcf6c 100644 --- a/.github/workflows/ci-test-pr.yml +++ b/.github/workflows/ci-test-pr.yml @@ -121,7 +121,7 @@ jobs: GITHUB_JOB_NAME: functional-tests GITHUB_RUN_ID: ${{ github.run_id }} run: | - GIT_COMMITTED_AT=$(git log -1 --format=%ct origin) + GIT_COMMITTED_AT=$(git log -1 --format=%ct) docker-compose exec -T \ -e GIT_COMMIT_SHA=${{ env.GIT_COMMIT_SHA }} \ -e GIT_BRANCH=${{ env.GIT_BRANCH }} \ @@ -181,7 +181,7 @@ jobs: GITHUB_JOB_NAME: unit-tests GITHUB_RUN_ID: ${{ github.run_id }} run: | - GIT_COMMITTED_AT=$(git log -1 --format=%ct origin) + GIT_COMMITTED_AT=$(git log -1 --format=%ct) docker-compose exec -T \ -e GIT_COMMIT_SHA=${{ env.GIT_COMMIT_SHA }} \ -e GIT_BRANCH=${{ env.GIT_BRANCH }} \ @@ -207,7 +207,7 @@ jobs: GIT_BRANCH: ${{ github.ref }} GITHUB_RUN_ID: ${{ github.run_id }} run: | - GIT_COMMITTED_AT=$(git log -1 --format=%ct origin) + GIT_COMMITTED_AT=$(git log -1 --format=%ct) docker-compose exec -T \ -e GIT_COMMIT_SHA=${{ env.GIT_COMMIT_SHA }} \ -e GIT_BRANCH=${{ env.GIT_BRANCH }} \