Skip to content

Commit ad7b885

Browse files
committed
chore: add permisission in update-versions workflow
1 parent 001f2ba commit ad7b885

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/update-versions.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848

4949
permissions:
50+
contents: write
5051
pull-requests: write
5152

5253
env:
@@ -79,4 +80,6 @@ jobs:
7980
git status
8081
git commit -m "chore: update kendo, themes, export, pdf, and captcha versions"
8182
git push --set-upstream origin ${{ inputs.new_kendo_version }}
82-
gh pr create --base master --head ${{ inputs.new_kendo_version }} --title "Update dependencies" --body "Updated kendo, themes, export, pdf, and captcha versions"
83+
gh pr create --base master --head ${{ inputs.new_kendo_version }} --title "Update dependencies" --body "Updated kendo, themes, export, pdf, and captcha versions"
84+
env:
85+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)