From 024a5fdda08baf70a811b1c812762395d5fa2350 Mon Sep 17 00:00:00 2001 From: Nik <2661899+CodeSchwert@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:49:11 +1300 Subject: [PATCH] fix: revert push tags step (#1514) --- .github/workflows/publish.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 10e3a71700..2dc9786160 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -44,11 +44,12 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + token: ${{ secrets.TS_IMMUTABLE_SDK_GITHUB_TOKEN }} - name: Setup Github run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + git config user.name "platform-sa" + git config user.email "platform-sa@users.noreply.github.com" - name: Get tags run: git fetch --tags @@ -99,12 +100,11 @@ jobs: - name: Test run: yarn test - # [DX-2633]: Disabled for now, check the JIRA issue for more details - # - name: Push tags - # # Boolean inputs are not actually booleans, see https://github.com/actions/runner/issues/1483 - # if: github.event.inputs.dry_run == 'false' - # run: | - # echo "$(git push --tags)" + - name: Push tags + # Boolean inputs are not actually booleans, see https://github.com/actions/runner/issues/1483 + if: github.event.inputs.dry_run == 'false' + run: | + echo "$(git push --tags)" - name: Pre Release Step if: contains(github.event.inputs.release_type, 'alpha')