Skip to content

Commit ffd438a

Browse files
authored
Update auto-issue-comment workflow with author check (#1300)
Add condition to skip comments for certain authors
1 parent 8f4b756 commit ffd438a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/auto-issue-comment.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ on:
66

77
jobs:
88
comment:
9+
if: |
10+
github.event.issue.author_association != 'OWNER' &&
11+
github.event.issue.author_association != 'MEMBER' &&
12+
github.event.issue.author_association != 'COLLABORATOR'
913
runs-on: ubuntu-latest
14+
1015
steps:
1116
- name: Add comment to issue
1217
uses: actions/github-script@v7

0 commit comments

Comments
 (0)