From 73cb22d49a457b7fc2ba581a30e5b9263161d38c Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 10 Feb 2025 14:12:02 +0100 Subject: [PATCH] Fix permission of the version_update workflow --- .github/workflows/version_update.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/version_update.yml b/.github/workflows/version_update.yml index aeec0bd..c0deda7 100644 --- a/.github/workflows/version_update.yml +++ b/.github/workflows/version_update.yml @@ -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"