gh-upload-sbom icon indicating copy to clipboard operation
gh-upload-sbom copied to clipboard

Ability to POST files instead of PUT requests

Open patheard opened this issue 2 years ago • 0 comments

Any chance of getting an option on the action to allow for a direct POST of the file rather than using PUT with a base64 encoded string?

In testing, we found the PUT request was taking significantly longer for large BOMs because of the file read and base64 encode step.

Here's a sample from one of our projects where you can see the workflow went from 16 minutes down to under 2 minutes when we switched away from this action to using a curl POST command.

image

patheard avatar May 26 '22 19:05 patheard