Skip to content

Commit 93ce7b2

Browse files
committed
chore: test pr creation
1 parent fea903b commit 93ce7b2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/update-versions.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ on:
4141
description: "The new common Web versions to apply"
4242
type: string
4343
required: true
44+
push:
4445

4546
jobs:
4647
update-versions:
@@ -66,15 +67,17 @@ jobs:
6667
- name: Update dependencies
6768
shell: pwsh
6869
run: |
69-
./scripts/update_versions.ps1 -oldKendoVersion "$env:old_kendo_version" -newKendoVersion "$env:new_kendo_version" -oldThemesVersion "$env:old_themes_version" -newThemesVersion "$env:new_themes_version" -oldWebCaptchaVersion "$env:old_web_captcha_version" -newWebCaptchaVersion "$env:new_web_captcha_version" -oldCommonWebVersions "$old_common_web_versions" -newCommonWebVersions "$env:new_common_web_versions"
70+
./scripts/update_versions.ps1
7071
7172
- name: Create PR
7273
run: |
73-
git checkout -b ${{ inputs.new_kendo_version }}
74+
git checkout -b "test-version-update""
7475
git config user.email "kendo-bot@progress.com"
7576
git config user.name "kendo-bot"
7677
git add .
7778
git status
7879
git commit -m "chore: update kendo, themes, export, pdf, and captcha versions"
79-
git push --set-upstream origin ${{ inputs.new_kendo_version }}
80-
gh pr create --base master --head ${{ inputs.new_kendo_version }} --title "Update dependencies" --body "Updated kendo, themes, export, pdf, and captcha versions"
80+
git push --set-upstream origin "test-version-update"
81+
gh pr create --base master --head "test-version-update" --title "Update dependencies" --body "Updated kendo, themes, export, pdf, and captcha versions"
82+
env:
83+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)