File tree Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Original file line number Diff line number Diff line change 25
25
args :
26
26
description : ' argument'
27
27
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 :
42
29
Authorization :
43
- # needs: [Get-Authorization]
44
30
name : Authorization
45
- runs-on : blossom
46
- env :
47
- AUTHORIZED_USERS : ${{ secrets.AUTHORIZED_USERS }}
31
+ runs-on : blossom
48
32
outputs :
49
33
args : ${{ env.args }}
34
+ env :
35
+ AUTHORIZED_USERS : ${{ secrets.AUTHORIZED_USERS }}
50
36
51
37
# This job only runs for pull request comments
52
38
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
+
56
42
steps :
57
43
- name : Check if comment is issued by authorized person
58
44
run : blossom-ci
You can’t perform that action at this time.
0 commit comments