File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 require : write
3030 username : ${{ github.triggering_actor }}
3131 error-if-missing : true
32- # Skip permission check for the codegen bot
33- if : ${{ github.triggering_actor != 'codegen-sh[bot]' }}
3432
3533 unit-tests :
36- # Only require access-check if it's not the codegen bot
37- needs : ${{ github.triggering_actor != 'codegen-sh[bot]' && 'access-check' || '' }}
34+ needs : access-check
3835 runs-on : ubuntu-latest-8
3936 steps :
4037 - uses : actions/checkout@v4
6158 codecov_token : ${{ secrets.CODECOV_TOKEN }}
6259
6360 codemod-tests :
64- # Only require access-check if it's not the codegen bot
65- needs : ${{ github.triggering_actor != 'codegen-sh[bot]' && 'access-check' || '' }}
61+ needs : access-check
6662 # TODO: re-enable when this check is a develop required check
6763 if : false
6864 runs-on : ubuntu-latest-32
@@ -104,8 +100,7 @@ jobs:
104100 GITHUB_WORKSPACE : $GITHUB_WORKSPACE
105101
106102 parse-tests :
107- # Only require access-check if it's not the codegen bot
108- needs : ${{ github.triggering_actor != 'codegen-sh[bot]' && 'access-check' || '' }}
103+ needs : access-check
109104 if : contains(github.event.pull_request.labels.*.name, 'parse-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
110105 runs-on : ubuntu-latest-32
111106 steps :
@@ -176,8 +171,7 @@ jobs:
176171 }
177172
178173 integration-tests :
179- # Only require access-check if it's not the codegen bot
180- needs : ${{ github.triggering_actor != 'codegen-sh[bot]' && 'access-check' || '' }}
174+ needs : access-check
181175 runs-on : ubuntu-latest-16
182176 steps :
183177 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments