Daily update dependencies #233
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running. | |
name: Daily update dependencies | |
on: | |
schedule: | |
# At 00:00 UTC every day. | |
- cron: '00 00 * * *' | |
repository_dispatch: | |
types: update-dependencies | |
defaults: | |
run: | |
shell: pwsh | |
jobs: | |
update-dotnet-preview: | |
name: Update .NET nanoFramework dependencies | |
timeout-minutes: 15 | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
path: main | |
- name: Checkout tools repo | |
uses: actions/[email protected] | |
with: | |
repository: nanoframework/nf-tools | |
path: tools | |
- name: Update dependencies | |
run: ./github-actions/update-nf-dependencies.ps1 | |
working-directory: tools | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
if: env.CREATE_PR == 'true' | |
with: | |
title: '${{ env.PR_TITLE }}' | |
body: | | |
${{ env.PR_MESSAGE }} | |
[version update] | |
### :warning: This is an automated update. :warning: | |
committer: 'nfbot <[email protected]>' | |
branch: ${{ env.BRANCH_NAME }} | |
path: main | |
labels: | | |
Type: dependencies |