"git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "8ec8ce1c8a51076950bfa7a7886d95f4c8aed11b"
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: ...@@ -23,9 +23,12 @@ jobs:
args: ${{ env.args }} args: ${{ env.args }}
# 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)) &&
github.event.comment.body == '/blossom-ci' github.event.comment.body == '/blossom-ci'
&& (
github.actor == 'ptrendx'
|| github.actor == 'ksivaman'
)
steps: steps:
- name: Check if comment is issued by authorized person - name: Check if comment is issued by authorized person
run: blossom-ci run: blossom-ci
......
...@@ -15,9 +15,25 @@ jobs: ...@@ -15,9 +15,25 @@ jobs:
args: ${{ env.args }} args: ${{ env.args }}
# 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)) &&
startsWith(github.event.comment.body, '/te-ci') 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: steps:
- name: Check if comment is issued by authorized person - name: Check if comment is issued by authorized person
run: blossom-ci 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