From d6ce76b1ad337443e9e967a4b7d08ef6a0eb92d3 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Wed, 14 Feb 2024 00:50:25 +0100 Subject: [PATCH] Remove sudo usage for jq installation in sonarqube.yml The use of sudo keyword for installing 'jq' in the SonarQube workflow file, sonarqube.yml, has been removed. This change is due to the fact that the root permission is not necessary during the installation process, adhering better to the principle of least privilege. --- .forgejo/workflows/codecov.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/codecov.yml b/.forgejo/workflows/codecov.yml index 91b3d19..bfbb3cb 100644 --- a/.forgejo/workflows/codecov.yml +++ b/.forgejo/workflows/codecov.yml @@ -10,7 +10,7 @@ on: paths: - '**.go' - 'go.*' - - '.github/**' + - '.forgejo/**' - 'codecov.yml' pull_request: branches: @@ -18,7 +18,7 @@ on: paths: - '**.go' - 'go.*' - - '.github/**' + - '.forgejo/**' - 'codecov.yml' env: API_KEY: ${{ secrets.API_KEY }}