cuda-python
cuda-python copied to clipboard
[BUG]: Restrict preview-comment selection to the bot author.
Is this a duplicate?
- [x] I confirmed there appear to be no duplicate issues for this bug and that I agree to the Code of Conduct
Type of Bug
Something else
Component
Infrastructure
Describe the bug
The marker-only query followed by tail -n 1 can select a contributor's comment quoting the raw preview message. A mocked reproduction with bot comment 101 followed by contributor comment 202 makes the helper PATCH comment 202, leaving the real preview comment unchanged. Match the expected bot author as well as the marker, consistent with the sticky-comment action's lookup.
How to Reproduce
A message not from github-actions[bot] which imitates a correct message
Expected behavior
Ignore messages not from github-actions[bot]
Operating System
No response
nvidia-smi output
No response