Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Find the
/git-artifacts
comment even more reliably
Over in git-for-windows/git#4918, _something_ in the range-diff was matched _somehow_ by that search string. The `text_matches` of the returned objects look like this: text_matches: [ { object_url: "https://api.github.com/repositories/23216272/issues/comments/2067288321", object_type: "IssueComment", property: "body", fragment: "/git-artifacts\n\nThe tag-git workflow run was started\n", matches: [ { text: "git", indices: [ 1, 4, ], }, { text: "artifacts", indices: [ 5, 14, ], }, { text: "git", indices: [ 24, 27, ], }, ], }, { object_url: "https://api.github.com/repositories/23216272/issues/4918", object_type: "Issue", property: "body", fragment: " = 53: 33d9a68ea63 vcxproj: handle GUI programs, too\n\n - 55: 417ce96c240 = 54: 4c3acea6c21 ci(vs-build) also build Windows/ARM64 artifacts\n\n - 52: d044e202fa2 = 55: ac6ad169b01 cmake: install", matches: [ { text: "artifacts", indices: [ 130, 139, ], }, ], }, ], In other words, there is not even the word "git" in the matches, and we'll just have to deal with this possible scenario. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
- Loading branch information