make.yml: pull_request_target

Trying to get PRs from forks running. Seems to require pull_request_target event that uses (trusted) tox.yml in base branch instead of (untrusted) tox.yml in branch of fork.
This commit is contained in:
Adrian Schlatter 2024-01-15 22:04:51 +01:00 committed by GitHub
parent 950ee06171
commit f98aa484bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,13 @@
name: make
on:
pull_request:
workflow_dispatch:
pull_request: # PR into master (=release)
branches:
- master
pull_request_target: # PR (from fork) into develop.
branches: # Uses workflow defined in base, not in fork.
- develop
workflow_dispatch: # to trigger workflow manually
jobs:
make_test: