Skip to content

Commit fc9b567

Browse files
authored
change to acl format (#1706)
Signed-off-by: YanxuanLiu <[email protected]>
1 parent 702379d commit fc9b567

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/blossom-ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ jobs:
3939
args: ${{ env.args }}
4040

4141
# This job only runs for pull request comments
42-
if: contains('\
43-
Nic-Ma,\
44-
SachidanandAlle,\
45-
diazandr3s,\
46-
tangy5,\
47-
wyli,\
48-
YanxuanLiu,\
49-
', format('{0},', github.actor)) && github.event.comment.body == '/build'
42+
if: |
43+
github.event.comment.body == '/build' &&
44+
(
45+
github.actor == 'Nic-Ma' ||
46+
github.actor == 'SachidanandAlle' ||
47+
github.actor == 'diazandr3s' ||
48+
github.actor == 'tangy5' ||
49+
github.actor == 'wyli' ||
50+
github.actor == 'YanxuanLiu'
51+
)
5052
steps:
5153
- name: Check if comment is issued by authorized person
5254
run: blossom-ci

0 commit comments

Comments
 (0)