From 3b1c57f7f15bf043ffe3cbf562edf2b9baf8c7c2 Mon Sep 17 00:00:00 2001 From: can olgun Date: Fri, 12 Jun 2026 11:58:34 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20address=20CodeRabbit=20review=20?= =?UTF-8?q?=E2=80=94=20pin=20actions,=20narrow=20paths,=20add=20memory=20s?= =?UTF-8?q?anitizer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cifuzz.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index d25dbf3d..f23238d3 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -2,7 +2,8 @@ name: CIFuzz on: pull_request: paths: - - '**' + - '**.go' + - '.github/workflows/cifuzz.yml' push: branches: [main, master] permissions: @@ -13,17 +14,17 @@ jobs: strategy: fail-fast: false matrix: - sanitizer: [address] + sanitizer: [address, memory] steps: - name: Build Fuzzers (${{ matrix.sanitizer }}) id: build - uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master + uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@ba0e2e0 # v1.0.0 with: oss-fuzz-project-name: 'gin' language: go sanitizer: ${{ matrix.sanitizer }} - name: Run Fuzzers (${{ matrix.sanitizer }}) - uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@ba0e2e0 # v1.0.0 with: oss-fuzz-project-name: 'gin' language: go @@ -31,8 +32,8 @@ jobs: sanitizer: ${{ matrix.sanitizer }} output-sarif: true - name: Upload Sarif - if: always() && steps.build.outcome == 'success' - uses: github/codeql-action/upload-sarif@v3 + if: steps.build.outcome == 'success' + uses: github/codeql-action/upload-sarif@601d5b1 # v3.28.15 with: sarif_file: cifuzz-sarif/results.sarif category: fuzz-${{ matrix.sanitizer }}