File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -355,11 +355,12 @@ jobs:
355355 run : |
356356 sudo chown -R "$(id -u):$(id -g)" repo
357357 cd repo
358- git fetch origin "test/e2e-commit-push-identity-${{ github.run_id }}"
359- test "$(git log -1 --format=%an "origin/test/e2e-commit-push-identity-${{ github.run_id }}")" = "Release Automation"
360- test "$(git log -1 --format=%ae "origin/test/e2e-commit-push-identity-${{ github.run_id }}")" = "release-bot@example.com"
361- test "$(git log -1 --format=%cn "origin/test/e2e-commit-push-identity-${{ github.run_id }}")" = "Release Automation"
362- test "$(git log -1 --format=%ce "origin/test/e2e-commit-push-identity-${{ github.run_id }}")" = "release-bot@example.com"
358+ branch="test/e2e-commit-push-identity-${{ github.run_id }}"
359+ git fetch origin "${branch}"
360+ test "$(git log -1 --format=%an FETCH_HEAD)" = "Release Automation"
361+ test "$(git log -1 --format=%ae FETCH_HEAD)" = "release-bot@example.com"
362+ test "$(git log -1 --format=%cn FETCH_HEAD)" = "Release Automation"
363+ test "$(git log -1 --format=%ce FETCH_HEAD)" = "release-bot@example.com"
363364
364365 - name : Cleanup - delete test branch
365366 if : ${{ always() && inputs.mode == 'ref' }}
You can’t perform that action at this time.
0 commit comments