Skip to content

Commit f603551

Browse files
dynamicdhxCopilot
andauthored
Update status comment check for GitHub Actions bot
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b084f1c commit f603551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/resilience-merge-conflict-monitor.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
issue_number: pullRequest.number,
7878
per_page: 100
7979
});
80-
const statusComment = comments.find(comment => comment.body?.includes(commentMarker));
80+
const statusComment = comments.find(comment => comment.user?.login === 'github-actions[bot]' && comment.body?.includes(commentMarker));
8181

8282
if (hasConflict) {
8383
if (!hasConflictLabel) {

0 commit comments

Comments
 (0)