Explorar o código

Analysis: use pull_request_target

Can't post reports otherwise as github token is readonly in pull_request

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Álvaro Brey Vilas %!s(int64=3) %!d(string=hai) anos
pai
achega
9f2bdd5916
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/workflows/analysis.yml

+ 1 - 1
.github/workflows/analysis.yml

@@ -1,7 +1,7 @@
 name: "Analysis"
 
 on:
-    pull_request:
+    pull_request_target:
         branches: [ master, stable-* ]
     push:
         branches: [ master, stable-* ]