chore: move folder #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Update Kendo, Themes and DPL versions" | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| old_kendo_version: | |
| description: "The old Kendo version to replace" | |
| type: string | |
| required: true | |
| new_kendo_version: | |
| description: "The new Kendo version to apply" | |
| type: string | |
| required: true | |
| push: | |
| jobs: | |
| update-versions: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Update dependencies | |
| shell: pwsh | |
| run: | | |
| (Get-Content -Path Telerik.Examples.ContentSecurityPolicy/Views/Shared/_Layout.cshtml) | | |
| ForEach-Object {$_ -Replace "2025.3.825", "2025.4.1111"} | | |
| Set-Content -Path Telerik.Examples.ContentSecurityPolicy/Views/Shared/_Layout.cshtml | |
| # - name: Create PR | |
| # run: | | |
| # git checkout -b ${{ inputs.new_kendo_version }} | |
| # git config user.email "kendo-bot@progress.com" | |
| # git config user.name "kendo-bot" | |
| # cd src | |
| # git add . | |
| # git status | |
| # git commit -m "chore: update kendo, themes, dpl and kendo.mvc.dll versions" | |
| # git push --set-upstream origin ${{ inputs.new_kendo_version }} | |
| # gh pr create --base master --head ${{ inputs.new_kendo_version }} --title "Update dependencies" --body "Updated kendo, themes, dpl and kendo.mvc.dll versions" |