- Pass secrets to workflows.
- Update cron to check update dependencies.

[skip_ci]
This commit is contained in:
José Simões 2022-12-27 16:49:15 +00:00 коммит произвёл GitHub
Родитель 1b52e3d5d9
Коммит 2ecfed056b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 12 добавлений и 8 удалений

5
.github/workflows/update-dependencies-1.yml поставляемый
Просмотреть файл

@ -7,8 +7,8 @@ name: Update dependencies (round 1)
on:
schedule:
# At 00:00 UTC every day.
- cron: '00 00 * * *'
# At 00:00 UTC.
- cron: '00 00 * * Wed,Fri'
repository_dispatch:
types: update-dependencies
@ -16,6 +16,7 @@ jobs:
update-nuget-dependencies:
name: nanoFramework
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!
workingDirectory: devices

5
.github/workflows/update-dependencies-2.yml поставляемый
Просмотреть файл

@ -7,9 +7,9 @@ name: Update dependencies (round 2)
on:
schedule:
# At 00:15 UTC every day.
# At 00:15 UTC .
# Set 15 min apart from round 1 to allow enough time for any changes to propagate.
- cron: '15 00 * * *'
- cron: '15 00 * * Wed,Fri'
repository_dispatch:
types: update-dependencies
@ -17,6 +17,7 @@ jobs:
update-nuget-dependencies:
name: nanoFramework
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!
workingDirectory: devices

5
.github/workflows/update-dependencies-3.yml поставляемый
Просмотреть файл

@ -7,9 +7,9 @@ name: Update dependencies (round 3)
on:
schedule:
# At 00:30 UTC every day.
# At 00:30 UTC.
# Set 30 min apart from round 2 to allow enough time for any changes to propagate.
- cron: '30 00 * * *'
- cron: '30 00 * * Wed,Fri'
repository_dispatch:
types: update-dependencies
@ -17,6 +17,7 @@ jobs:
update-nuget-dependencies:
name: nanoFramework
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!
solutionsToCheck: '*.sln'

5
.github/workflows/update-dependencies-4.yml поставляемый
Просмотреть файл

@ -8,9 +8,9 @@ name: Update dependencies (round 4)
on:
schedule:
# At 02:30 UTC every day.
# At 02:30 UTC.
# Set 2 hours apart from round 3 to allow enough time for any changes to propagate.
- cron: '30 02 * * *'
- cron: '30 02 * * Wed,Fri'
repository_dispatch:
types: update-dependencies
workflow_dispatch:
@ -19,6 +19,7 @@ jobs:
update-nuget-dependencies:
name: nanoFramework
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!
workingDirectory: devices