Skip to content

Commit

Permalink
chore: update workflow to use PR head sha instead of merge commit
Browse files Browse the repository at this point in the history
  • Loading branch information
astone123 authored Dec 20, 2023
1 parent a2e600b commit 7f27b76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.0
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Restore cached dependencies
id: dependency-restore
uses: actions/cache/restore@v3
Expand Down

0 comments on commit 7f27b76

Please sign in to comment.