Skip to content

Commit

Permalink
fix(workflows): checkout to head on commit pusblish
Browse files Browse the repository at this point in the history
  • Loading branch information
abrl91 committed Nov 29, 2023
1 parent 41f1a61 commit 3f7c389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-on-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 3f7c389

Please sign in to comment.