ci: run the on pull request CIs on push to master
[openssl.git] / .github / workflows / main.yml
1 name: CIFuzz
2 on: [pull_request, push]
3 jobs:
4   Fuzzing:
5     runs-on: ubuntu-latest
6     steps:
7     - name: Build Fuzzers
8       uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
9       with:
10         oss-fuzz-project-name: 'openssl'
11         dry-run: false
12     - name: Run Fuzzers
13       uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
14       with:
15         oss-fuzz-project-name: 'openssl'
16         fuzz-seconds: 600
17         dry-run: false
18     - name: Upload Crash
19       uses: actions/upload-artifact@v1
20       if: failure()
21       with:
22         name: artifacts
23         path: ./out/artifacts