- Notifications
You must be signed in to change notification settings - Fork925
Commite926701
fix: improve PR number detection logic for different event types
- Handle pull_request events using github.event.number- Handle push events by finding PR for the branch- Improve error handling and validation for PR state checking- Fix issue where gh pr view failed on merge commitsCo-authored-by: matifali <10648092+matifali@users.noreply.github.com>1 parentd01e3f8 commite926701
1 file changed
+19
-9
lines changedLines changed: 19 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
| 109 | + | |
| 110 | + | |
109 | 111 |
| |
110 |
| - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 |
| |
112 | 119 |
| |
113 | 120 |
| |
| |||
118 | 125 |
| |
119 | 126 |
| |
120 | 127 |
| |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
| 128 | + | |
127 | 129 |
| |
128 |
| - | |
129 |
| - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
130 | 140 |
| |
131 | 141 |
| |
132 | 142 |
| |
|
0 commit comments
Comments
(0)