Skip to content

actions: build: add default settings for storage-repo-* #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cyphar
Copy link

@cyphar cyphar commented May 26, 2025

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 [email protected]

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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant