pull_request -> pull_request_target all over (#935)

This commit is contained in:
Auguste Rame 2023-01-22 15:27:17 -05:00 committed by GitHub
parent 3a86687ae7
commit 8e98bd439b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ permissions: read-all
jobs:
fuzz:
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'pr:fuzz')
if: github.event_name != 'pull_request_target' || contains(github.event.pull_request.labels.*.name, 'pr:fuzz')
runs-on: ubuntu-latest
steps:
@ -37,12 +37,12 @@ jobs:
swap-size-gb: 10
- name: Default fuzzing duration
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request_target'
run: |
echo "FUZZING_DURATION=${{ github.event.inputs.fuzzing_duration }}" >> $GITHUB_ENV
- name: PR fuzzing duration
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request_target'
run: |
echo "FUZZING_DURATION=15m" >> $GITHUB_ENV