From 3f7c389a87b32b5b9083b83c7821e0991c274364 Mon Sep 17 00:00:00 2001 From: Amit Barletz Date: Wed, 29 Nov 2023 14:43:55 +0200 Subject: [PATCH] fix(workflows): checkout to head on commit pusblish --- .github/workflows/publish-on-comment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-on-comment.yaml b/.github/workflows/publish-on-comment.yaml index d9e92d3e..17fdf352 100644 --- a/.github/workflows/publish-on-comment.yaml +++ b/.github/workflows/publish-on-comment.yaml @@ -90,7 +90,7 @@ jobs: publish: name: Publish beta version runs-on: ubuntu-latest - needs: [get-affected-plugins, get-last-commit] + needs: [get-affected-plugins, get-last-commit, get-refs] if: ${{ needs.get-affected-plugins.outputs.affected-plugins != '[]' && needs.get-affected-plugins.outputs.affected-plugins != '' }} strategy: matrix: @@ -99,7 +99,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - ref: ${{ needs.get-last-commit.outputs.last-commit-short-sha }} + ref: ${{ needs.get-refs.outputs.head }} - name: Setup Node uses: actions/setup-node@v3