Commit 91f854d
committed
fix: handle issues.edited webhook to update ticket title and description
- Add handler for issues.edited events to update ticket metadata
- Fix pull_request.edited to also update title (was only updating description)
- Add comprehensive tests for both issue and PR metadata updates
- Fixes issue where renaming a GitHub issue wouldn't update the bounty title
This ensures that when users rename issues or PRs on GitHub, the corresponding
tickets in Algora are updated with the new title and description.1 parent 014299c commit 91f854d
File tree
2 files changed
+80
-1
lines changed- lib/algora_web/controllers/webhooks
- test/algora_web/controllers/webhooks
2 files changed
+80
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
277 | 280 | | |
278 | 281 | | |
279 | 282 | | |
| |||
285 | 288 | | |
286 | 289 | | |
287 | 290 | | |
288 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
289 | 295 | | |
290 | 296 | | |
291 | 297 | | |
| |||
699 | 705 | | |
700 | 706 | | |
701 | 707 | | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
702 | 732 | | |
703 | 733 | | |
704 | 734 | | |
| |||
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
259 | 306 | | |
260 | 307 | | |
261 | 308 | | |
| |||
1578 | 1625 | | |
1579 | 1626 | | |
1580 | 1627 | | |
| 1628 | + | |
1581 | 1629 | | |
1582 | 1630 | | |
1583 | 1631 | | |
| |||
1597 | 1645 | | |
1598 | 1646 | | |
1599 | 1647 | | |
| 1648 | + | |
1600 | 1649 | | |
1601 | 1650 | | |
1602 | 1651 | | |
| |||
0 commit comments