Skip to content

Commit 08ad45b

Browse files
authored
Merge pull request #4150 from samurdhikaru/dev/dev-fix-blossom-ci-10.4
Update blossom-ci for improved security
2 parents 6cad70d + 7590851 commit 08ad45b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/blossom-ci.yml

+9-2
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)