Skip to content

Commit e28f402

Browse files
committed
limit /ci diff to members only
1 parent fece2ff commit e28f402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
outputs:
1010
diffs: ${{ steps.regress-ci.outputs.diffs }}
11-
if: github.event.issue.pull_request && (contains(github.event.comment.body, '\n/ci') || startsWith(github.event.comment.body, '/ci'))
11+
if: github.event.issue.pull_request && github.event.comment.author_association == 'MEMBER' && (contains(github.event.comment.body, '\n/ci') || startsWith(github.event.comment.body, '/ci'))
1212
steps:
1313
- uses: actions/checkout@v4
1414

0 commit comments

Comments
 (0)