From 25a9943d68a7dc31eeefeb17913dbe37d87e5302 Mon Sep 17 00:00:00 2001 From: Mehmet Samet Duman Date: Thu, 2 Apr 2026 20:38:37 +0300 Subject: NOISSUE Remove not needed CI workflows for GitHub Actions and reworked some workflows Signed-off-by: Mehmet Samet Duman --- .github/workflows/json4cpp-fuzz.yml | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/json4cpp-fuzz.yml (limited to '.github/workflows/json4cpp-fuzz.yml') diff --git a/.github/workflows/json4cpp-fuzz.yml b/.github/workflows/json4cpp-fuzz.yml new file mode 100644 index 0000000000..78805aa597 --- /dev/null +++ b/.github/workflows/json4cpp-fuzz.yml @@ -0,0 +1,39 @@ +name: "json4cpp: CIFuzz" + +on: + pull_request: + paths: + - 'json4cpp/**' + +permissions: + contents: read + +jobs: + Fuzzing: + runs-on: ubuntu-22.04 + steps: + - name: Harden Runner + uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 + with: + egress-policy: audit + + - name: Build Fuzzers + id: build + uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master + with: + oss-fuzz-project-name: 'json' + dry-run: false + language: c++ + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + oss-fuzz-project-name: 'json' + fuzz-seconds: 300 + dry-run: false + language: c++ + - name: Upload Crash + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + if: failure() && steps.build.outcome == 'success' + with: + name: artifacts + path: ./out/artifacts -- cgit 0.0.5-2-1-g0f52