aboutsummaryrefslogtreecommitdiff
path: root/infra/cifuzz/actions/action.yml
diff options
context:
space:
mode:
Diffstat (limited to 'infra/cifuzz/actions/action.yml')
-rw-r--r--infra/cifuzz/actions/action.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/infra/cifuzz/actions/action.yml b/infra/cifuzz/actions/action.yml
new file mode 100644
index 000000000..7af4bd493
--- /dev/null
+++ b/infra/cifuzz/actions/action.yml
@@ -0,0 +1,17 @@
+# action.yml
+name: 'build-fuzzers'
+description: "Builds an OSS-Fuzz project's fuzzers."
+inputs:
+ project-name:
+ description: 'Name of the corresponding OSS-Fuzz project.'
+ required: true
+ fuzz-seconds:
+ description: 'The total time allotted for fuzzing in seconds.'
+ required: true
+ default: 360
+runs:
+ using: 'docker'
+ image: 'Dockerfile'
+ env:
+ PROJECT_NAME: ${{ inputs.project-name }}
+ FUZZ_SECONDS: ${{ inputs.fuzz-seconds }}