From da5d3bbe5e0356b638836e11bbc7690900376bb6 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Mon, 22 Jan 2024 13:42:54 -0500 Subject: [PATCH] - adds permissions to SQ workflow --- .github/workflows/sonarcloud.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index b49b672..a690f59 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -9,6 +9,10 @@ on: types: [opened, synchronize, reopened] paths-ignore: ['.vscode/**'] +permissions: + contents: read + pull-requests: read + env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}