Skip to content

Commit c84043d

Browse files
Add workflow to update the .NET SDK
Add a GitHub Actions workflow that checks for updates to the .NET SDK at 1200 UTC on Wednesdays (i.e. the day after when Update Tuesday would be).
1 parent 1722749 commit c84043d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: update-dotnet-sdk
2+
3+
on:
4+
schedule:
5+
- cron: '0 12 * * WED'
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
update-dotnet-sdk:
14+
name: Update .NET SDK
15+
runs-on: ubuntu-latest
16+
if: ${{ github.event.repository.fork == false }}
17+
18+
steps:
19+
20+
- name: Checkout code
21+
uses: actions/checkout@v3
22+
23+
- name: Update .NET SDK
24+
uses: martincostello/update-dotnet-sdk@v2
25+
with:
26+
labels: "dependencies,.NET"
27+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)