From 52de1b264164ddae25d1cb3fa7f3cd7b13e78a33 Mon Sep 17 00:00:00 2001 From: Julio Perez <37191411+jperez999@users.noreply.github.com> Date: Fri, 9 Aug 2024 17:01:56 -0400 Subject: [PATCH] fix blossom ci (#1882) --- .github/workflows/blossom-ci.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/blossom-ci.yml b/.github/workflows/blossom-ci.yml index 30013868509..0b3c0665a27 100644 --- a/.github/workflows/blossom-ci.yml +++ b/.github/workflows/blossom-ci.yml @@ -33,20 +33,16 @@ jobs: args: ${{ env.args }} # This job only runs for pull request comments - if: contains( '\ - albert17,\ - benfred,\ - bschifferer,\ - EvenOldridge,\ - gabrielspmoreira,\ - jperez999,\ - karlhighley,\ - marcromeyn,\ - benfred,\ - rjzamora,\ - rnyak,\ - sararb,\ - ', format('{0},', github.actor)) && github.event.comment.body == '/blossom-ci' + if: github.event.comment.body == '/build' && + (github.actor == 'benfred' || + github.actor == 'bschifferer' || + github.actor == 'EvenOldridge || + github.actor == 'gabrielspmoreira' || + github.actor == 'jperez999' || + github.actor == 'marcromeyn || + github.actor == 'rjzamora' || + github.actor == 'rnyak' || + github.actor == 'sararb ) steps: - name: Check if comment is issued by authorized person run: blossom-ci