Skip to content

Commit d9e6176

Browse files
authored
Work CD-CI
- Add github action to update dependencies. ***NO_CI***
1 parent c416ec8 commit d9e6176

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Copyright (c) 2020 The nanoFramework project contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running.
5+
6+
name: Daily update dependencies
7+
8+
on:
9+
schedule:
10+
# At 00:00 UTC every day.
11+
- cron: '00 00 * * *'
12+
repository_dispatch:
13+
types: update-dependencies
14+
15+
defaults:
16+
run:
17+
shell: pwsh
18+
19+
jobs:
20+
update-dotnet-preview:
21+
name: Update .NET nanoFramework dependencies
22+
timeout-minutes: 15
23+
runs-on: windows-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/[email protected]
27+
with:
28+
path: main
29+
- name: Checkout tools repo
30+
uses: actions/[email protected]
31+
with:
32+
repository: nanoframework/nf-tools
33+
path: tools
34+
- name: Update dependencies
35+
run: ./github-actions/update-nf-dependencies.ps1
36+
working-directory: tools
37+
- name: Create Pull Request
38+
uses: peter-evans/[email protected]
39+
if: env.CREATE_PR == 'true'
40+
with:
41+
title: '${{ env.PR_TITLE }}'
42+
body: |
43+
${{ env.PR_MESSAGE }}
44+
45+
[version update]
46+
47+
### :warning: This is an automated update. :warning:
48+
committer: 'nfbot <[email protected]>'
49+
branch: ${{ env.BRANCH_NAME }}
50+
path: main

0 commit comments

Comments
 (0)