Commit 2612189
committed
perf(github): skip comment edit when body is already up to date
Avoid unnecessary GitHub API calls by checking if comment body
already matches before editing. Use github.Ptr() for consistency.
Signed-off-by: Akshay Pant <akshay.akshaypant@gmail.com>1 parent a076d20 commit 2612189
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
779 | 783 | | |
780 | 784 | | |
781 | | - | |
| 785 | + | |
782 | 786 | | |
783 | 787 | | |
784 | 788 | | |
| |||
790 | 794 | | |
791 | 795 | | |
792 | 796 | | |
793 | | - | |
| 797 | + | |
794 | 798 | | |
795 | 799 | | |
796 | 800 | | |
| |||
0 commit comments