Commit 8a81789
rahul-infra
fix(ci): Allow semantic-release to analyze PR merge commits
The release preview workflow was failing because semantic-release
detected it was running on refs/pull/*/merge instead of the actual
branch, causing it to skip release analysis.
Changes:
- Unset GITHUB_EVENT_NAME to remove pull_request context
- Set GITHUB_EVENT_NAME=push to treat PR as push event
- Add PR merge ref to allowed branches list
This allows the preview to show what release version will be created.1 parent cb382d4 commit 8a81789
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
0 commit comments