diff --git a/.github/workflows/blossom-ci.yml b/.github/workflows/blossom-ci.yml index a3da344..417ce6f 100644 --- a/.github/workflows/blossom-ci.yml +++ b/.github/workflows/blossom-ci.yml @@ -34,11 +34,11 @@ jobs: # This job only runs for pull request comments if: | - github.event.comment.body == '/build' && (github.actor == 'hqtran-nv' || github.actor == 'christinayyw') + github.event.comment.body == '/build' && contains(fromJSON(vars.AUTHORIZED_USERS), github.actor) steps: - name: Check if comment is issued by authorized person run: blossom-ci - env: + env: OPERATION: 'AUTH' REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}