From fc9b5676edbce419fe963f5a4a5361ce5bc2fb82 Mon Sep 17 00:00:00 2001 From: YanxuanLiu <104543031+YanxuanLiu@users.noreply.github.com> Date: Mon, 24 Jun 2024 21:33:44 +0800 Subject: [PATCH] change to acl format (#1706) Signed-off-by: YanxuanLiu --- .github/workflows/blossom-ci.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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