Skip to content

Commit 73cb22d

Browse files
committed
Fix permission of the version_update workflow
1 parent 994c850 commit 73cb22d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/version_update.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
update-version:
99
name: Prepare pull request for sonar-scanner version update
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
1114
steps:
1215
- run: sudo apt install -y jq
1316

@@ -34,7 +37,7 @@ jobs:
3437
shell: bash
3538
env:
3639
UPDATE_BRANCH: update-to-sonar-scanner-${{ steps.latest-version.outputs.sonar-scanner-version }}
37-
TITLE: "Update sonar-scanner-version to ${{ steps.latest-version.outputs.sonar-scanner-version }}"
40+
TITLE: "Update SonarScanner CLI to ${{ steps.latest-version.outputs.sonar-scanner-version }}"
3841
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3942
run: |
4043
git config --global user.name "SonarTech"

0 commit comments

Comments
 (0)