mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-12 17:31:15 +00:00
Fix permission of the version_update workflow
This commit is contained in:
parent
994c850d7a
commit
73cb22d49a
1 changed files with 4 additions and 1 deletions
5
.github/workflows/version_update.yml
vendored
5
.github/workflows/version_update.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue