Run on pull_request_target instead of pull_request

This commit is contained in:
Ishan Jain 2022-01-12 00:03:40 +05:30
parent 014b452ebe
commit a7cd775056

View File

@ -1,7 +1,9 @@
name: PR status checks name: PR status checks
on: on:
pull_request: # This is so the status check can run on forks.
pull_request_target:
types: [assigned, opened, synchronize, reopened] types: [assigned, opened, synchronize, reopened]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest