File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update dotnet-install Scripts
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 0 6 * * 1' # Weekly on Monday at 06:00 UTC
7+
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
12+ jobs :
13+ update-scripts :
14+ runs-on : ubuntu-latest
15+ if : ${{ github.repository_owner == 'dotnet' }}
16+ steps :
17+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
19+ - name : Download dotnet-install.sh
20+ run : |
21+ curl -sSL -o src/Aspire.Cli/Resources/dotnet-install.sh https://dot.net/v1/dotnet-install.sh
22+
23+ - name : Download dotnet-install.ps1
24+ run : |
25+ curl -sSL -o src/Aspire.Cli/Resources/dotnet-install.ps1 https://dot.net/v1/dotnet-install.ps1
26+
27+ - name : Create or update pull request
28+ uses : dotnet/actions-create-pull-request@e8d799aa1f8b17f324f9513832811b0a62f1e0b1
29+ with :
30+ token : ${{ secrets.GITHUB_TOKEN }}
31+ branch : update-dotnet-install-scripts
32+ base : main
33+ commit-message : " [Automated] Update dotnet-install scripts"
34+ labels : |
35+ area-cli
36+ area-engineering-systems
37+ title : " [Automated] Update dotnet-install scripts"
38+ body : " Auto-generated update of embedded dotnet-install.sh and dotnet-install.ps1 scripts from https://dot.net/v1/."
You can’t perform that action at this time.
0 commit comments