aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/cifuzz/actions
diff options
context:
space:
mode:
authorGravatar jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2020-05-13 12:44:11 -0700
committerGravatar GitHub <noreply@github.com>2020-05-13 12:44:11 -0700
commit1f533163ccb52fcbde052bfc0cffe75aadbce49b (patch)
treece794986d206d0398c91b3d2baf4e714efafb0c3 /infra/cifuzz/actions
parenta019d8a7874f6f0fb845d25a95d6762980e5cf74 (diff)
[CIFuzz] Support ALLOWED_BROKEN_TARGETS_PERCENTAGE (#3726)
Currently we use Github action's inputs as inputs to cifuzz. This means we need to do an extra step to convert each input into an env var so our scripts can actually use it. This is pretty bug prone and unnecessary, we should probably get rid of this abstraction and switch to encouraging devs to set the env vars directly.
Diffstat (limited to 'infra/cifuzz/actions')
-rw-r--r--infra/cifuzz/actions/build_fuzzers/action.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/infra/cifuzz/actions/build_fuzzers/action.yml b/infra/cifuzz/actions/build_fuzzers/action.yml
index e9fb31ea..4c190185 100644
--- a/infra/cifuzz/actions/build_fuzzers/action.yml
+++ b/infra/cifuzz/actions/build_fuzzers/action.yml
@@ -8,9 +8,13 @@ inputs:
dry-run:
description: 'If set, run the action without actually reporting a failure.'
default: false
+ allowed-broken-targets-percentage:
+ description: 'The percentage of broken targets allowed in bad_build_check.'
+ required: false
runs:
using: 'docker'
image: 'Dockerfile'
env:
OSS_FUZZ_PROJECT_NAME: ${{ inputs.oss-fuzz-project-name }}
DRY_RUN: ${{ inputs.dry-run}}
+ ALLOWED_BROKEN_TARGETS_PERCENTAGE: ${{ inputs.allowed-broken-targets-percentage}}