File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1111 commit :
1212 description : If the commit you want to test isn't the head of a branch, provide its SHA here
1313 required : false
14+ schedule :
15+ # Run every day at midnight (without cache)
16+ - cron : ' 0 0 * * *'
1417
1518# Cancel in progress workflows on pull_requests.
1619# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
@@ -141,7 +144,7 @@ jobs:
141144 has_gitflow_label :
142145 ${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' Gitflow ') }}
143146 force_skip_cache :
144- ${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' ci-skip-cache ') }}
147+ ${{ github.event_name == 'schedule' || (github.event_name == ' pull_request' && contains(steps.pr-labels.outputs.labels, ' ci-skip-cache ') ) }}
145148
146149 job_install_deps :
147150 name : Install Dependencies
@@ -205,9 +208,8 @@ jobs:
205208 - name : NX cache
206209 uses : actions/cache@v3
207210 # Disable cache when:
208- # - on develop
209211 # - on release branches
210- # - when PR has `ci-skip-cache` label
212+ # - when PR has `ci-skip-cache` label or on nightly builds
211213 if : |
212214 needs.job_get_metadata.outputs.is_release == 'false' &&
213215 needs.job_get_metadata.outputs.force_skip_cache == 'false'
You can’t perform that action at this time.
0 commit comments