File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Update Kendo, Themes and DPL versions"
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ old_kendo_version :
7+ description : " The old Kendo version to replace"
8+ type : string
9+ required : true
10+ new_kendo_version :
11+ description : " The new Kendo version to apply"
12+ type : string
13+ required : true
14+ push :
15+ jobs :
16+ update-versions :
17+ runs-on : ubuntu-latest
18+
19+ permissions :
20+ pull-requests : write
21+
22+ steps :
23+ - name : Checkout repo
24+ uses : actions/checkout@v4
25+
26+ - name : Update dependencies
27+ shell : pwsh
28+ run : |
29+ (Get-Content -Path Telerik.Examples.ContentSecurityPolicy/Views/Shared/_Layout.cshtml) |
30+ ForEach-Object {$_ -Replace "2025.3.825", "2025.4.1111"} |
31+ Set-Content -Path Telerik.Examples.ContentSecurityPolicy/Views/Shared/_Layout.cshtml
32+
33+ # - name: Create PR
34+ # run: |
35+ # git checkout -b ${{ inputs.new_kendo_version }}
36+ # git config user.email "kendo-bot@progress.com"
37+ # git config user.name "kendo-bot"
38+ # cd src
39+ # git add .
40+ # git status
41+ # git commit -m "chore: update kendo, themes, dpl and kendo.mvc.dll versions"
42+ # git push --set-upstream origin ${{ inputs.new_kendo_version }}
43+ # gh pr create --base master --head ${{ inputs.new_kendo_version }} --title "Update dependencies" --body "Updated kendo, themes, dpl and kendo.mvc.dll versions"
You can’t perform that action at this time.
0 commit comments