Skip to content

Commit

Permalink
parse local branch commit time
Browse files Browse the repository at this point in the history
  • Loading branch information
dmou committed Jul 7, 2021
1 parent 383ad6b commit 8e90598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
Expand Down Expand Up @@ -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 }} \
Expand All @@ -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 }} \
Expand Down

0 comments on commit 8e90598

Please sign in to comment.