Skip to content

Commit 7c2b872

Browse files
authored
Discard changes to .github/workflows/test.yml
1 parent b019520 commit 7c2b872

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ jobs:
1919
require: write
2020
username: ${{ github.triggering_actor }}
2121
error-if-missing: true
22-
# Skip permission check for the Codegen bot
23-
if: ${{ github.triggering_actor != 'codegen-sh[bot]' }}
2422

2523
unit-tests:
26-
# Only require access-check if not triggered by the Codegen bot
27-
needs: ${{ github.triggering_actor != 'codegen-sh[bot]' && 'access-check' || '' }}
24+
needs: access-check
2825
runs-on: ubuntu-latest-8
2926
steps:
3027
- uses: actions/checkout@v4
@@ -51,8 +48,7 @@ jobs:
5148
codecov_token: ${{ secrets.CODECOV_TOKEN }}
5249

5350
codemod-tests:
54-
# Only require access-check if not triggered by the Codegen bot
55-
needs: ${{ github.triggering_actor != 'codegen-sh[bot]' && 'access-check' || '' }}
51+
needs: access-check
5652
# TODO: re-enable when this check is a develop required check
5753
if: false
5854
runs-on: ubuntu-latest-32
@@ -94,8 +90,7 @@ jobs:
9490
GITHUB_WORKSPACE: $GITHUB_WORKSPACE
9591

9692
parse-tests:
97-
# Only require access-check if not triggered by the Codegen bot
98-
needs: ${{ github.triggering_actor != 'codegen-sh[bot]' && 'access-check' || '' }}
93+
needs: access-check
9994
if: contains(github.event.pull_request.labels.*.name, 'parse-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
10095
runs-on: ubuntu-latest-32
10196
steps:
@@ -166,8 +161,7 @@ jobs:
166161
}
167162
168163
integration-tests:
169-
# Only require access-check if not triggered by the Codegen bot
170-
needs: ${{ github.triggering_actor != 'codegen-sh[bot]' && 'access-check' || '' }}
164+
needs: access-check
171165
runs-on: ubuntu-latest-16
172166
steps:
173167
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)