Skip to content

Commit

Permalink
Update blossom-ci ACL to secure format
Browse files Browse the repository at this point in the history
Signed-off-by: Peixin Li <pxLi@nyu.edu>
  • Loading branch information
pxLi committed Jun 11, 2024
1 parent e37ff67 commit 5d7b6be
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,26 @@ jobs:
args: ${{ env.args }}

# This job only runs for pull request comments
if: contains('\
chesterxgchen,\
pxLi,\
IsaacYangSLA,\
YanxuanLiu,\
yhwen,\
YuanTingHsieh,\
holgerroth,\
yhwen,\
nvkevlu,\
nvidianz,\
yanchengnv,\
ZiyueXu77,\
Can-Zhao,\
guopengf,\
SYangster,\
yinqingh,\
', format('{0},', github.actor)) && github.event.comment.body == '/build'
if: |
github.event.comment.body == 'build' &&
(
github.actor == 'chesterxgchen' ||
github.actor == 'pxLi' ||
github.actor == 'IsaacYangSLA' ||
github.actor == 'YanxuanLiu' ||
github.actor == 'yhwen' ||
github.actor == 'YuanTingHsieh' ||
github.actor == 'holgerroth' ||
github.actor == 'yhwen' ||
github.actor == 'nvkevlu' ||
github.actor == 'nvidianz' ||
github.actor == 'yanchengnv' ||
github.actor == 'ZiyueXu77' ||
github.actor == 'Can-Zhao' ||
github.actor == 'guopengf' ||
github.actor == 'SYangster' ||
github.actor == 'yinqingh'
)
steps:
- name: Check if comment is issued by authorized person
run: blossom-ci
Expand Down

0 comments on commit 5d7b6be

Please sign in to comment.