File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2020
2121env :
2222 UV_SYSTEM_PYTHON : 1
23- # Run scheduled jobs only on the main repository (disable cron on forks)
24- RUN_CONDITION : ${{ github.repository_owner == 'fastapi' || github.event_name != 'schedule' }}
2523
2624jobs :
2725 test :
28- if : ${{ env.RUN_CONDITION }}
26+ # Run scheduled jobs only on the main repository (disable cron on forks)
27+ if : ${{ github.repository_owner == 'fastapi' || github.event_name != 'schedule' }}
2928 strategy :
3029 matrix :
3130 os : [ ubuntu-latest, windows-latest, macos-latest ]
@@ -138,7 +137,7 @@ jobs:
138137
139138 # https://github.com/marketplace/actions/alls-green#why
140139 alls-green : # This job does nothing and is only used for the branch protection
141- if : always() && env.RUN_CONDITION
140+ if : always() && (github.repository_owner == 'fastapi' || github.event_name != 'schedule')
142141 needs :
143142 - coverage-combine
144143 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments