Skip to content

Commit 2a00843

Browse files
authored
Update blossom-ci.yml
chore: cleanup blossom-ci.yml
1 parent f30aed3 commit 2a00843

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

.github/workflows/blossom-ci.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,20 @@ on:
2525
args:
2626
description: 'argument'
2727
required: false
28-
jobs:
29-
# Get-Authorization:
30-
# runs-on: ubuntu-latest
31-
# outputs:
32-
# AUTHORIZED: ${{ steps.check-authorization.outputs.defined }}
33-
# steps:
34-
# - id: check-authorization
35-
# env:
36-
# AUTHORIZED_USERS: ${{ secrets.AUTHORIZED_USERS }}
37-
# if: |
38-
# contains( ${{ env.AUTHORIZED_USERS }}, format('{0},', github.actor)) &&
39-
# github.event.comment.body == '/nvidia-ci'
40-
# run: echo "::set-output name=defined::true"
41-
28+
jobs:
4229
Authorization:
43-
# needs: [Get-Authorization]
4430
name: Authorization
45-
runs-on: blossom
46-
env:
47-
AUTHORIZED_USERS: ${{ secrets.AUTHORIZED_USERS }}
31+
runs-on: blossom
4832
outputs:
4933
args: ${{ env.args }}
34+
env:
35+
AUTHORIZED_USERS: ${{ secrets.AUTHORIZED_USERS }}
5036

5137
# This job only runs for pull request comments
5238
if: |
53-
contains( ${{ env.AUTHORIZED_USERS }}, format('{0},', github.actor)) &&
54-
github.event.comment.body == '/nvidia-ci'
55-
# if: needs.Get-Authorization.outputs.check-authorization == 'true'
39+
contains( ${{ env.AUTHORIZED_USERS }}, format('{0},', github.actor)) &&
40+
github.event.comment.body == '/nvidia-ci'
41+
5642
steps:
5743
- name: Check if comment is issued by authorized person
5844
run: blossom-ci

0 commit comments

Comments
 (0)