Skip to content

Commit 97f7627

Browse files
committed
Add workflow for automatic SDK updates
Copy of dotnet/extensions#4886
1 parent 6522671 commit 97f7627

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/update-sdk.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: update-dotnet-sdk
2+
3+
on:
4+
5+
# Scheduled trigger to check for .NET SDK updates at 12 UTC every Monday
6+
schedule:
7+
- cron: '00 12 * * MON'
8+
9+
# Manual trigger to update the .NET SDK on-demand.
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: write
14+
issues: write
15+
pull-requests: write
16+
17+
jobs:
18+
update-dotnet-sdk:
19+
name: Update .NET SDK
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
ref: dev
25+
- uses: martincostello/update-dotnet-sdk@65c5f402b15326dd12d7b1dac63abdbb53ed695c # v3.1.2
26+
with:
27+
quality: 'daily'
28+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)