mirror of
https://github.com/adrianschlatter/threadlib.git
synced 2025-01-16 12:49:40 +01:00
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:
parent
950ee06171
commit
f98aa484bf
9
.github/workflows/make.yml
vendored
9
.github/workflows/make.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user