Skip to content

Commit 7449c4d

Browse files
authored
change blossom-ci to ACL security format (Project-MONAI#7843)
Fixes # . ### Description Requested by security to prevent DDOS. The new format is provided by blossom team. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: YanxuanLiu <yanxuanl@nvidia.com>
1 parent 4029c42 commit 7449c4d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/blossom-ci.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ jobs:
2929
args: ${{ env.args }}
3030

3131
# This job only runs for pull request comments
32-
if: contains('\
33-
Nic-Ma,\
34-
wyli,\
35-
pxLi,\
36-
YanxuanLiu,\
37-
KumoLiu,\
38-
', format('{0},', github.actor)) && github.event.comment.body == '/build'
32+
if: |
33+
github.event.comment.body == '/build' &&
34+
(
35+
github.actor == 'Nic-Ma' ||
36+
github.actor == 'wyli' ||
37+
github.actor == 'pxLi' ||
38+
github.actor == 'YanxuanLiu' ||
39+
github.actor == 'KumoLiu'
40+
)
3941
steps:
4042
- name: Check if comment is issued by authorized person
4143
run: blossom-ci

0 commit comments

Comments
 (0)