Skip to content

Commit e262cd6

Browse files
[main] Add workflow for automatic SDK updates (#4887)
* Add workflow for automatic SDK updates * Update update-sdk.yml --------- Co-authored-by: William Godbe <[email protected]>
1 parent 83d87c7 commit e262cd6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/update-sdk.yml

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+
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+
- uses: martincostello/update-dotnet-sdk@31f3d5a6c2c4a5a0b7eb0e0d5c30501925d6e790
24+
with:
25+
quality: 'daily'
26+
repo-token: ${{ secrets.GITHUB_TOKEN }}
27+
branch-name: dev

0 commit comments

Comments
 (0)