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>
This commit is contained in:
Álvaro Brey Vilas 2022-01-26 10:20:34 +01:00
parent e35b6211f0
commit 9f2bdd5916
No known key found for this signature in database
GPG key ID: 2585783189A62105

View file

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