Skip to content

Commit

Permalink
fix(ci): use GITHUB_SHA for workflow_dispatch (manual) events
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleystachurski committed Mar 26, 2024
1 parent d5b9413 commit 22205cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
run: |
echo "LAST_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> ${GITHUB_ENV}
- name: Setup Environment (Push)
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
shell: bash
run: |
echo "LAST_COMMIT_SHA=${GITHUB_SHA}" >> ${GITHUB_ENV}

0 comments on commit 22205cd

Please sign in to comment.