ci: fuzz: remove fuzzing trigger on PR (#3195)

This commit is contained in:
Mohammed Al Sahaf 2020-03-27 03:34:12 +03:00 committed by GitHub
parent 8da9eaee34
commit d2c15bea1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,6 @@
name: Fuzzing name: Fuzzing
on: on:
# Regression testing
push:
branches:
- master
pull_request:
branches:
- master
# Daily midnight fuzzing # Daily midnight fuzzing
schedule: schedule:
- cron: '0 0 * * *' - cron: '0 0 * * *'
@ -68,12 +60,7 @@ jobs:
["./replacer_fuzz.go"]="replacer" \ ["./replacer_fuzz.go"]="replacer" \
) )
fuzz_type="local-regression"
if [[ "${{ github.event_name }}" == "schedule" ]]; then
fuzz_type="fuzzing" fuzz_type="fuzzing"
fi
echo "Fuzzing type: $fuzz_type"
for f in $(find . -name \*_fuzz.go); do for f in $(find . -name \*_fuzz.go); do
FUZZER_DIRECTORY=$(dirname "$f") FUZZER_DIRECTORY=$(dirname "$f")