Commit 1ebf64c
authored
fix: Update dist-pr.yml (#193)
Changes the way the workflow checks things out.
- Adds step to fetch previous commit.
- Changes checkout previous commit to check out the commit using the new local ref that we just created.
Gemini explains it like this (so much collaboration):
Why This Should Work
Explicit Fetch: We're explicitly fetching the exact commit we need, bypassing any potential issues with fetch-depth calculations.
Local Ref: We're creating a local ref, making the checkout unambiguous.
Branch Context: We start by checking out the branch, then we check out a specific commit.1 parent 6bdb1e3 commit 1ebf64c
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
0 commit comments