Skip to content

Commit

Permalink
change blossom-ci to ACL security format [skip ci] (#593)
Browse files Browse the repository at this point in the history
Fixes # .

### Description
Requested by security to prevent DDOS. The new format is provided by
blossom team.
### Status
**Ready/Work in progress/Hold**

### Please ensure all the checkboxes:
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Codeformat tests passed locally by running `./runtests.sh
--codeformat`.
- [ ] In-line docstrings updated.
- [ ] Update `version` and `changelog` in `metadata.json` if changing an
existing bundle.
- [ ] Please ensure the naming rules in config files meet our
requirements (please refer to: `CONTRIBUTING.md`).
- [ ] Ensure versions of packages such as `monai`, `pytorch` and `numpy`
are correct in `metadata.json`.
- [ ] Descriptions should be consistent with the content, such as
`eval_metrics` of the provided weights and TorchScript modules.
- [ ] Files larger than 25MB are excluded and replaced by providing
download links in `large_file.yml`.
- [ ] Avoid using path that contains personal information within config
files (such as use `/home/your_name/` for `"bundle_root"`).

Signed-off-by: YanxuanLiu <yanxuanl@nvidia.com>
  • Loading branch information
YanxuanLiu authored Jun 13, 2024
1 parent 5eb4be5 commit f802d01
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,16 @@ jobs:
args: ${{ env.args }}

# This job only runs for pull request comments
if: contains('\
pxLi,\
YanxuanLiu,\
wyli,\
Nic-Ma,\
yiheng-wang-nv,\
KumoLiu,\
', format('{0},', github.actor)) && github.event.comment.body == '/build'
if: |
github.event.comment.body == '/build' &&
(
github.actor == 'pxLi' ||
github.actor == 'YanxuanLiu' ||
github.actor == 'wyli' ||
github.actor == 'Nic-Ma' ||
github.actor == 'yiheng-wang-nv' ||
github.actor == 'KumoLiu'
)
steps:
- name: Check if comment is issued by authorized person
run: blossom-ci
Expand Down

0 comments on commit f802d01

Please sign in to comment.