소스 검색

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 3 년 전
부모
커밋
9f2bdd5916
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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-* ]