Skip to content

Commit 78ce78b

Browse files
committed
Avoid skip jobs when running on main
1 parent 6a66751 commit 78ce78b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ jobs:
218218

219219
codecov:
220220
runs-on: ubuntu-latest
221-
environment: ${{ github.event_name == 'pull_request' && 'approval' || '' }}
221+
environment: ${{ github.event_name == 'pull_request' && 'approval' || null }}
222222
needs: [linux, pydantic-v1, without-pyyaml]
223223
steps:
224224
- uses: actions/checkout@v4
@@ -238,7 +238,7 @@ jobs:
238238

239239
sonarcloud:
240240
runs-on: ubuntu-latest
241-
environment: ${{ github.event_name == 'pull_request' && 'approval' || '' }}
241+
environment: ${{ github.event_name == 'pull_request' && 'approval' || null }}
242242
needs: [linux, pydantic-v1, without-pyyaml]
243243
steps:
244244
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)