Skip to content

Commit

Permalink
Fix permission of the version_update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
henryju committed Feb 10, 2025
1 parent 994c850 commit 73cb22d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/version_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
update-version:
name: Prepare pull request for sonar-scanner version update
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- run: sudo apt install -y jq

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

0 comments on commit 73cb22d

Please sign in to comment.