devicon icon indicating copy to clipboard operation
devicon copied to clipboard

[BUG] `bot:peek` sometimes doesn't post a message on the PR, even though all action steps are successful

Open Snailedlt opened this issue 3 years ago • 1 comments

I have searched through the issues and didn't find my problem.

  • [X] Confirm

Bug description

This is a weird one. Sometimes when I assign the bot:peek label, it runs fine, but doesn't post a comment on the PR. When I skimmed through the action I couldn't find anything obvious that was failing. Granted I read through it very quickly since I don't have time right now.

This has happened before, so will have to investigate further.

Here's some relevant links:

Retriggered the bot:peek action with relabeling, and manually afterwards -> https://github.com/devicons/devicon/pull/1298#event-7064247287

The action that succeeds, but doesn't post a comment -> https://github.com/devicons/devicon/runs/7520054823?check_suite_focus=true

Possible fixes or solutions

Will have to investigate further, but this might be related to this issue: #1124

Additional information

No response

Snailedlt avatar Jul 26 '22 12:07 Snailedlt

The reason it happened with #1298 is because the PR title was wrong (https://github.com/devicons/devicon/pull/1298#issuecomment-1195439835).

We should probably handle this edge case though, so that we can know what the issue is more easily

Snailedlt avatar Jul 26 '22 18:07 Snailedlt