diff --git a/.github/workflows/update-dependencies-1.yml b/.github/workflows/update-dependencies-1.yml index 10d730f168..390f6f83b4 100644 --- a/.github/workflows/update-dependencies-1.yml +++ b/.github/workflows/update-dependencies-1.yml @@ -7,8 +7,8 @@ name: Update dependencies (round 1) on: schedule: - # At 00:00 UTC. - - cron: '00 00 * * Wed,Fri' + # Round 1/5: (02:00 UTC). + - cron: '00 02 * * Mon,Wed' repository_dispatch: types: update-dependencies workflow_dispatch: @@ -19,7 +19,7 @@ jobs: uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main secrets: inherit with: - timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update! + timeout-minutes: 15 # The next round will start after (taking into account PR merge and build branch). workingDirectory: devices branchToPr: 'develop' solutionsToCheck: | diff --git a/.github/workflows/update-dependencies-2.yml b/.github/workflows/update-dependencies-2.yml index 39f93f6e8f..00d3cf234f 100644 --- a/.github/workflows/update-dependencies-2.yml +++ b/.github/workflows/update-dependencies-2.yml @@ -7,9 +7,9 @@ name: Update dependencies (round 2) on: schedule: - # At 00:15 UTC . - # Set 15 min apart from previous round to allow enough time for any changes to propagate. - - cron: '15 00 * * Wed,Fri' + # Round 2/5: Executes 30 minutes after round 1 (02:30 UTC) to allow enough time for any changes to propagate. + # (taking into account PR merge and build branch). + - cron: '30 02 * * Mon,Wed' repository_dispatch: types: update-dependencies workflow_dispatch: @@ -20,7 +20,7 @@ jobs: uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main secrets: inherit with: - timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update! + timeout-minutes: 15 # The next round will start after (taking into account PR merge and build branch). workingDirectory: devices branchToPr: 'develop' solutionsToCheck: | diff --git a/.github/workflows/update-dependencies-3.yml b/.github/workflows/update-dependencies-3.yml index b31f0c2765..feb79076fe 100644 --- a/.github/workflows/update-dependencies-3.yml +++ b/.github/workflows/update-dependencies-3.yml @@ -7,9 +7,9 @@ name: Update dependencies (round 3) on: schedule: - # At 00:30 UTC . - # Set 15 min apart from previous round to allow enough time for any changes to propagate. - - cron: '30 00 * * Wed,Fri' + # Round 3/5: Executes 30 minutes after round 2 (03:00 UTC) to allow enough time for any changes to propagate. + # (taking into account PR merge and build branch). + - cron: '00 03 * * Mon,Wed' repository_dispatch: types: update-dependencies workflow_dispatch: @@ -20,7 +20,7 @@ jobs: uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main secrets: inherit with: - timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update! + timeout-minutes: 15 workingDirectory: devices branchToPr: 'develop' solutionsToCheck: | diff --git a/.github/workflows/update-dependencies-4.yml b/.github/workflows/update-dependencies-4.yml index b366ae3719..a5c6c0e8ee 100644 --- a/.github/workflows/update-dependencies-4.yml +++ b/.github/workflows/update-dependencies-4.yml @@ -7,9 +7,9 @@ name: Update dependencies (round 4) on: schedule: - # At 01:45 UTC. - # Set 15 min apart from previous round to allow enough time for any changes to propagate. - - cron: '45 01 * * Wed,Fri' + # Round 4/5: Executes 30 minutes after round 3 (03:30 UTC) to allow enough time for any changes to propagate. + # (taking into account PR merge and build branch). + - cron: '30 03 * * Mon,Wed' repository_dispatch: types: update-dependencies workflow_dispatch: @@ -20,7 +20,7 @@ jobs: uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main secrets: inherit with: - timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update! + timeout-minutes: 120 # It takes a long time as IoT devices has lots of solutions to update! solutionsToCheck: '*.sln' workingDirectory: devices branchToPr: 'develop' diff --git a/.github/workflows/update-dependencies-5.yml b/.github/workflows/update-dependencies-5.yml index 06b1d61447..cc5da7741c 100644 --- a/.github/workflows/update-dependencies-5.yml +++ b/.github/workflows/update-dependencies-5.yml @@ -2,15 +2,14 @@ # See LICENSE file in the project root for full license information. # This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running. -# Second round, because of dependencies from other IoT bindings. name: Update dependencies (round 5) on: schedule: - # At 03:30 UTC. - # Set 3 hours apart from previous round to allow enough time for any changes to propagate. - - cron: '30 04 * * Wed,Fri' + # Round 5/5: Executes 3 hours after round 4 (06:30 UTC) to allow enough time for any changes to propagate. + # (taking into account PR merge and build branch). + - cron: '30 06 * * Mon,Wed' repository_dispatch: types: update-dependencies workflow_dispatch: @@ -21,7 +20,7 @@ jobs: uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main secrets: inherit with: - timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update! + timeout-minutes: 15 # It should not take longer! workingDirectory: devices branchToPr: 'develop' solutionsToCheck: |