mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
Add pull_request_target trigger to test-and-build workflow
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
cf766fb4a6
commit
3aa5bb1e34
1 changed files with 6 additions and 0 deletions
6
.github/workflows/test-and-build.yml
vendored
6
.github/workflows/test-and-build.yml
vendored
|
@ -9,6 +9,11 @@ on:
|
|||
branches: [ develop ]
|
||||
pull_request:
|
||||
branches: [ develop ]
|
||||
pull_request_target:
|
||||
branches: [ develop ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }}
|
||||
|
@ -16,6 +21,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
if: "(github.event_name == 'pull_request_target') == github.event.pull_request.head.repo.fork"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
Loading…
Reference in a new issue