From b31ffa47e1daece94a9bd09d7a36a98c134367ad Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Mon, 26 May 2025 14:02:45 +1000 Subject: [PATCH] actions: build: add default settings for storage-repo-* The docs state that storage-repo-branch and storage-repo-branch-coverage are optional, but the actual action description doesn't set the defaults which results in errors when trying to operate on storage-repo: warning: redirecting to https://github.com/cyphar/umoci-fuzz-corpus.git/ fatal: 'origin/' is not a commit and a branch '' cannot be created from it fatal: '' is not a valid branch name. 2025-05-26 01:54:06,604 - root - ERROR - Could not get coverage: Command '('git', '-C', '/tmp/tmprq4x6jbl', 'checkout', '--orphan', '')' returned non-zero exit status 128.. 2025-05-26 01:54:06,605 - root - ERROR - Could not find latest coverage report. Signed-off-by: Aleksa Sarai --- actions/build_fuzzers/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions/build_fuzzers/action.yml b/actions/build_fuzzers/action.yml index 83cd17c..3c5af0a 100644 --- a/actions/build_fuzzers/action.yml +++ b/actions/build_fuzzers/action.yml @@ -34,10 +34,12 @@ inputs: description: | The branch of the git repo to use for storing certain artifacts from fuzzing. + default: main required: false storage-repo-branch-coverage: description: | The branch of the git repo to use for storing coverage reports. + default: gh-pages required: false upload-build: description: |