File tree Expand file tree Collapse file tree 1 file changed +17
-14
lines changed Expand file tree Collapse file tree 1 file changed +17
-14
lines changed Original file line number Diff line number Diff line change 26
26
description : ' argument'
27
27
required : false
28
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"
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
41
42
42
Authorization :
43
- needs : [Get-Authorization]
43
+ # needs: [Get-Authorization]
44
44
name : Authorization
45
45
runs-on : blossom
46
46
env :
49
49
args : ${{ env.args }}
50
50
51
51
# This job only runs for pull request comments
52
- if : needs.Get-Authorization.outputs.check-authorization == 'true'
52
+ 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'
53
56
steps :
54
57
- name : Check if comment is issued by authorized person
55
58
run : blossom-ci
You can’t perform that action at this time.
0 commit comments