Skip to content

Commit 27d0371

Browse files
Merge pull request #1005 from martincostello/dotnet-sdk-updates
Add GitHub Actions workflow to update the .NET SDK
2 parents 1722749 + c84043d commit 27d0371

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

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)