Skip to content

Commit 40efe7e

Browse files
authored
Merge pull request #4149 from samurdhikaru/dev/dev-fix-blossom-ci
Update blossom-ci for improved security
2 parents ba69652 + 79e7b64 commit 40efe7e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/blossom-ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,15 @@ jobs:
3434

3535
# This job only runs for pull request comments
3636
if: |
37-
contains( 'rajeevsrao,kevinch-nv,ttyio,samurdhikaru,zerollzeng,nvpohanh', format('{0},', github.actor)) &&
38-
github.event.comment.body == '/blossom-ci'
37+
github.event.comment.body == '/blossom-ci' &&
38+
(
39+
github.actor == 'rajeevsrao' ||
40+
github.actor == 'kevinch-nv' ||
41+
github.actor == 'ttyio' ||
42+
github.actor == 'samurdhikaru' ||
43+
github.actor == 'zerollzeng' ||
44+
github.actor == 'nvpohanh'
45+
)
3946
steps:
4047
- name: Check if comment is issued by authorized person
4148
run: blossom-ci

0 commit comments

Comments
 (0)