ci: disable fuzzing CI on LTS branch (#18500)

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
This commit is contained in:
Julien 2026-04-09 18:33:48 +02:00 committed by GitHub
parent abababf005
commit 2834efc2bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,23 +8,10 @@ jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@cafd7a0eb8ecb4e007c56897996a9b65c49c972f # master
with:
oss-fuzz-project-name: "prometheus"
dry-run: false
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@cafd7a0eb8ecb4e007c56897996a9b65c49c972f # master
# Note: Regularly check for updates to the pinned commit hash at:
# https://github.com/google/oss-fuzz/tree/master/infra/cifuzz/actions/run_fuzzers
with:
oss-fuzz-project-name: "prometheus"
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts
- name: Skip fuzzing on LTS branch
# Fuzzing CI is disabled on this LTS branch because the oss-fuzz
# integration was updated on main to use Go native fuzzing, which is
# incompatible with this branch. Since oss-fuzz has no versioned
# releases, there is no older stable version to pin to. Fuzzing
# continues to run on the main branch.
run: true