Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Pass secrets to workflows.
- Update cron to check update dependencies.

[skip_ci]
  • Loading branch information
josesimoes authored Dec 27, 2022
1 parent 999110f commit a25e11b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ jobs:
check_nuget_latest:
name: nanoFramework
uses: nanoframework/nf-tools/.github/workflows/check-packages-updated.yml@main
secrets: inherit
with:
solution: 'nanoFramework.System.Device.Spi.sln'
7 changes: 3 additions & 4 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ name: Daily update dependencies

on:
schedule:
# At 00:00 UTC every day.
- cron: '00 00 * * *'
# At 00:30 UTC.
- cron: '30 00 * * Wed,Fri'
repository_dispatch:
types: update-dependencies

jobs:
update-dependencies:
name: nanoFramework
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
secrets: inherit
with:
solutionsToCheck: 'nanoFramework.System.Device.Spi.sln'
secrets:
githubAuth: ${{ secrets.NFBOT_GITHUB_ACTIONS }}

0 comments on commit a25e11b

Please sign in to comment.