Skip to content

Commit

Permalink
Add workflow to update the .NET SDK
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
martincostello committed Jan 7, 2023
1 parent 1722749 commit c84043d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/update-dotnet-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: update-dotnet-sdk

on:
schedule:
- cron: '0 12 * * WED'
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
update-dotnet-sdk:
name: Update .NET SDK
runs-on: ubuntu-latest
if: ${{ github.event.repository.fork == false }}

steps:

- name: Checkout code
uses: actions/checkout@v3

- name: Update .NET SDK
uses: martincostello/update-dotnet-sdk@v2
with:
labels: "dependencies,.NET"
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c84043d

Please sign in to comment.