- Update update refs git action.

***NO_CI***
This commit is contained in:
José Simões 2022-01-11 00:30:14 +00:00 коммит произвёл GitHub
Родитель 4a9045cca3
Коммит 526077777a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 7 добавлений и 27 удалений

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

@ -7,8 +7,8 @@ name: Daily update dependencies
on:
schedule:
# At 00:00 UTC every day.
- cron: '00 00 * * *'
# Update At 00:00 UTC on Tuesday and Friday
- cron: '0 0 * * 2,5'
repository_dispatch:
types: update-dependencies
@ -19,34 +19,14 @@ defaults:
jobs:
update-nuget-dependencies:
name: Update .NET nanoFramework dependencies
timeout-minutes: 15
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: main
- name: Checkout tools repo
uses: actions/checkout@v2
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'
uses: nanoframework/nanodu@v1
with:
title: '${{ env.PR_TITLE }}'
body: |
${{ env.PR_MESSAGE }}
[version update]
### :warning: This is an automated update. :warning:
committer: 'nfbot <dependencybot@nanoframework.net>'
branch: ${{ env.BRANCH_NAME }}
path: main
labels: |
Type: dependencies
solutionsToCheck: 'nanoFramework.Azure.Devices.Client.sln'