From afc7b3c310777a4024bb598a3f07ed76886b4ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Wed, 11 Oct 2023 12:31:07 +0200 Subject: [PATCH] Run sonarcloud action in pull_request_target branch to get the token --- .github/workflows/sonarcloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 1ffad6d5e909..a27e170367a7 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -10,7 +10,7 @@ on: - '**.py' - 'web/html/src/**.ts' - 'web/html/src/**.tsx' - pull_request: + pull_request_target: paths: - 'java/**.java' - 'java/**.xml'