Skip to content

Commit a4fc0b9

Browse files
authored
Update blossom-ci.yml
fix: Moving env inside steps in blossom-ci.yml
1 parent 2a00843 commit a4fc0b9

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/blossom-ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,18 @@ jobs:
3131
runs-on: blossom
3232
outputs:
3333
args: ${{ env.args }}
34-
env:
35-
AUTHORIZED_USERS: ${{ secrets.AUTHORIZED_USERS }}
36-
37-
# This job only runs for pull request comments
38-
if: |
39-
contains( ${{ env.AUTHORIZED_USERS }}, format('{0},', github.actor)) &&
40-
github.event.comment.body == '/nvidia-ci'
4134

4235
steps:
4336
- name: Check if comment is issued by authorized person
44-
run: blossom-ci
4537
env:
4638
OPERATION: 'AUTH'
39+
AUTHORIZED_USERS: ${{ secrets.AUTHORIZED_USERS }}
4740
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4841
REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}
42+
if: |
43+
contains( ${{ env.AUTHORIZED_USERS }}, format('{0},', github.actor)) &&
44+
github.event.comment.body == '/nvidia-ci'
45+
run: blossom-ci
4946

5047
Vulnerability-scan:
5148
name: Vulnerability scan

0 commit comments

Comments
 (0)