-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
GitHub Issue Comment Trigger Investigation
I'm investigating why the issue-comment.yml workflow is being triggered incorrectly. Based on the workflow file, it should only run when:
- A comment is created on an issue or PR
- The comment contains the text '/mycoder'
- The comment is made by the user 'bhouston'
The current workflow definition has:
on:
issue_comment:
types: [created]
jobs:
process-comment:
runs-on: ubuntu-latest
# Only run if comment contains '/mycoder' AND commenter is in AUTHORIZED_USERS list
if: |
contains(github.event.comment.body, '/mycoder') &&
github.event.comment.user.login == 'bhouston'
I need to create a GitHub issue to track this problem and propose a solution.
Metadata
Metadata
Assignees
Labels
No labels