diff --git a/.github/workflows/blossom-ci.yml b/.github/workflows/blossom-ci.yml index 737f90233..fd8d7947b 100644 --- a/.github/workflows/blossom-ci.yml +++ b/.github/workflows/blossom-ci.yml @@ -39,14 +39,16 @@ jobs: args: ${{ env.args }} # This job only runs for pull request comments - if: contains('\ - Nic-Ma,\ - SachidanandAlle,\ - diazandr3s,\ - tangy5,\ - wyli,\ - YanxuanLiu,\ - ', format('{0},', github.actor)) && github.event.comment.body == '/build' + if: | + github.event.comment.body == '/build' && + ( + github.actor == 'Nic-Ma' || + github.actor == 'SachidanandAlle' || + github.actor == 'diazandr3s' || + github.actor == 'tangy5' || + github.actor == 'wyli' || + github.actor == 'YanxuanLiu' + ) steps: - name: Check if comment is issued by authorized person run: blossom-ci