Commit 8a42189
[v3-0-test] Fix cherry-pick detection in airflow-github script (apache#54287)
- Fix `is_cherrypicked` function to detect PRs with multiple reference numbers
- Differentiate between Closed and Merged status for better PR state visibility
- Add PEP 723 script dependencies for easier execution with 'uv run --no-project'
The cherry-pick detection was failing for PRs that had additional PR numbers
appended during cherry-picking (e.g., '(apache#53955) (apache#53964)'). This change improves
release management workflow by providing clearer PR status information.
(cherry picked from commit 29a1cb0)
Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>1 parent 2770ad2 commit 8a42189
1 file changed
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
2 | 12 | | |
3 | 13 | | |
4 | 14 | | |
| |||
43 | 53 | | |
44 | 54 | | |
45 | 55 | | |
46 | | - | |
| 56 | + | |
| 57 | + | |
47 | 58 | | |
48 | 59 | | |
49 | 60 | | |
| |||
102 | 113 | | |
103 | 114 | | |
104 | 115 | | |
105 | | - | |
| 116 | + | |
106 | 117 | | |
107 | 118 | | |
108 | 119 | | |
109 | 120 | | |
110 | 121 | | |
111 | | - | |
112 | | - | |
| 122 | + | |
| 123 | + | |
113 | 124 | | |
114 | 125 | | |
115 | 126 | | |
| |||
270 | 281 | | |
271 | 282 | | |
272 | 283 | | |
273 | | - | |
274 | 284 | | |
275 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
276 | 293 | | |
277 | 294 | | |
278 | 295 | | |
| |||
0 commit comments