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

Simplify logic for launching CI (#1001)


Signed-off-by: default avatarTim Moon <tmoon@nvidia.com>
parent 38b48c8a
......@@ -23,9 +23,12 @@ jobs:
args: ${{ env.args }}
# This job only runs for pull request comments
if: |
contains( ',ptrendx,ksivaman,', format(',{0},', github.actor)) &&
if: >
github.event.comment.body == '/blossom-ci'
&& (
github.actor == 'ptrendx'
|| github.actor == 'ksivaman'
)
steps:
- name: Check if comment is issued by authorized person
run: blossom-ci
......
......@@ -15,9 +15,25 @@ jobs:
args: ${{ env.args }}
# This job only runs for pull request comments
if: |
contains( ',ptrendx,ksivaman,schetlur-nv,timmoon10,zlsh80826,mingxu1067,cyanguwa,nzmora-nvidia,galagam,nouiz,denera,sudhakarsingh27,Oleg-Goncharov,phu0ngng,nvcforster,', format(',{0},', github.actor)) &&
if: >
startsWith(github.event.comment.body, '/te-ci')
&& (
github.actor == 'ptrendx'
|| github.actor == 'ksivaman'
|| github.actor == 'schetlur-nv'
|| github.actor == 'timmoon10'
|| github.actor == 'zlsh80826'
|| github.actor == 'mingxu1067'
|| github.actor == 'cyanguwa'
|| github.actor == 'nzmora-nvidia'
|| github.actor == 'galagam'
|| github.actor == 'nouiz'
|| github.actor == 'denera'
|| github.actor == 'sudhakarsingh27'
|| github.actor == 'Oleg-Goncharov'
|| github.actor == 'phu0ngng'
|| github.actor == 'nvcforster'
)
steps:
- name: Check if comment is issued by authorized person
run: blossom-ci
......
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