Skip to content

Commit b4a69d2

Browse files
authored
fix: Update dist-pr.yml (#189)
Adds a new ref line to check out the previous commit. The ordering in this Rube Goldberg machine is critical.
1 parent c84a436 commit b4a69d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dist-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Checkout code
2727
uses: actions/checkout@v3
2828
with:
29-
# No ref specified: defaults to checking out the 'dist' branch
29+
ref: ${{ github.event.before }} # Checkout previous commit on dist.
3030
token: ${{ secrets.GH_MERGE_TOKEN }}
3131

3232
- name: Create Pull Request

0 commit comments

Comments
 (0)