File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 11
11
workflow_dispatch :
12
12
13
13
jobs :
14
+ access-check :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions-cool/check-user-permission@v2
18
+ with :
19
+ require : write
20
+ username : ${{ github.triggering_actor }}
21
+ error-if-missing : true
22
+
14
23
unit-tests :
24
+ needs : access-check
15
25
runs-on : ubuntu-latest-8
16
26
environment : testing
17
27
steps :
34
44
codecov_flags : unit-tests
35
45
36
46
codemod-tests :
47
+ needs : access-check
37
48
# TODO: re-enable when this check is a develop required check
38
49
if : false
39
50
runs-on : ubuntu-latest-32
76
87
GITHUB_WORKSPACE : $GITHUB_WORKSPACE
77
88
78
89
parse-tests :
90
+ needs : access-check
79
91
if : contains(github.event.pull_request.labels.*.name, 'parse-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
80
92
runs-on : ubuntu-latest-32
81
93
environment : testing
@@ -147,6 +159,7 @@ jobs:
147
159
}
148
160
149
161
integration-tests :
162
+ needs : access-check
150
163
runs-on : ubuntu-latest-16
151
164
environment : testing
152
165
steps :
You can’t perform that action at this time.
0 commit comments