@@ -942,12 +942,10 @@ jobs:
942
942
# We want to run this if:
943
943
# - The build job was successful, not skipped
944
944
# - AND if the profiling node bindings were either successful or skipped
945
- # AND if this is not a PR from a fork or dependabot
946
945
if : |
947
946
always() && needs.job_build.result == 'success' &&
948
947
(needs.job_compile_bindings_profiling_node.result == 'success' || needs.job_compile_bindings_profiling_node.result == 'skipped') &&
949
- (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
950
- github.actor != 'dependabot[bot]'
948
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
951
949
needs : [job_get_metadata, job_build, job_compile_bindings_profiling_node]
952
950
runs-on : ubuntu-20.04-large-js
953
951
timeout-minutes : 15
@@ -1005,13 +1003,11 @@ jobs:
1005
1003
job_e2e_tests :
1006
1004
name : E2E ${{ matrix.label || matrix.test-application }} Test
1007
1005
# We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks
1008
- # Dependabot PRs sadly also don't have access to secrets, so we skip them as well
1009
1006
# We need to add the `always()` check here because the previous step has this as well :(
1010
1007
# See: https://github.com/actions/runner/issues/2205
1011
1008
if :
1012
1009
always() && needs.job_e2e_prepare.result == 'success' &&
1013
- (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
1014
- github.actor != 'dependabot[bot]'
1010
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
1015
1011
needs : [job_get_metadata, job_build, job_e2e_prepare]
1016
1012
runs-on : ubuntu-20.04
1017
1013
timeout-minutes : 10
@@ -1141,14 +1137,14 @@ jobs:
1141
1137
job_profiling_e2e_tests :
1142
1138
name : E2E ${{ matrix.label || matrix.test-application }} Test
1143
1139
# We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks
1144
- # Dependabot PRs sadly also don't have access to secrets, so we skip them as well
1140
+ # Dependabot specifically also has access to secrets
1145
1141
# We need to add the `always()` check here because the previous step has this as well :(
1146
1142
# See: https://github.com/actions/runner/issues/2205
1147
1143
if :
1148
1144
# Only run profiling e2e tests if profiling node bindings have changed
1149
1145
always() && needs.job_e2e_prepare.result == 'success' &&
1150
1146
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
1151
- github.actor != 'dependabot[bot]' && (
1147
+ (
1152
1148
(needs.job_get_metadata.outputs.changed_profiling_node_bindings == 'true') ||
1153
1149
(needs.job_get_metadata.outputs.is_release == 'true') ||
1154
1150
(github.event_name != 'pull_request')
0 commit comments