Unverified Commit c6ce2b8c authored by Tim Moon's avatar Tim Moon Committed by GitHub
Browse files

Fix minor security vulnerability when triggering CI (#898)



Fix bug when triggering CI
Signed-off-by: default avatarTim Moon <tmoon@nvidia.com>
parent 0edf30b8
...@@ -24,7 +24,7 @@ jobs: ...@@ -24,7 +24,7 @@ jobs:
# This job only runs for pull request comments # This job only runs for pull request comments
if: | if: |
contains( 'ptrendx,ksivaman,', format('{0},', github.actor)) && contains( ',ptrendx,ksivaman,', format(',{0},', github.actor)) &&
github.event.comment.body == '/blossom-ci' github.event.comment.body == '/blossom-ci'
steps: steps:
- name: Check if comment is issued by authorized person - name: Check if comment is issued by authorized person
......
...@@ -16,7 +16,7 @@ jobs: ...@@ -16,7 +16,7 @@ jobs:
# This job only runs for pull request comments # This job only runs for pull request comments
if: | if: |
contains( 'ptrendx,ksivaman,schetlur-nv,timmoon10,zlsh80826,mingxu1067,cyanguwa,nzmora-nvidia,galagam,nouiz,denera,sudhakarsingh27,Oleg-Goncharov,phu0ngng,nvcforster,', format('{0},', github.actor)) && contains( ',ptrendx,ksivaman,schetlur-nv,timmoon10,zlsh80826,mingxu1067,cyanguwa,nzmora-nvidia,galagam,nouiz,denera,sudhakarsingh27,Oleg-Goncharov,phu0ngng,nvcforster,', format(',{0},', github.actor)) &&
startsWith(github.event.comment.body, '/te-ci') startsWith(github.event.comment.body, '/te-ci')
steps: steps:
- name: Check if comment is issued by authorized person - name: Check if comment is issued by authorized person
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment