You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggested by @bruno-oliveira. We support 4 options for supplying metadata. The 4th option is based on providing input parameters to the GitHub Action, and is typically used by people that use Sigrid CI directly from GitHub Marketplace. Because those input parameters are strings, we don't currently allow people to use multiple values for the 2 metadata fields that accept arrays: supplierNames and teamNames.
We need to investigate if lists/arrays are nowadays supported as input parameters. If not, we can still use poor man's lists using the notation aap,noot, but we need to check.
The text was updated successfully, but these errors were encountered:
One hack I now use is to supply a string with quoted values that misses the quotes at the end: team A", "team B", "team C which will end up as ["team A", "team B", "team C"] in the yaml that will get uploaded.
A cleaner alternative is to make a separate call to the API for which it is easier to provide a list.
At the moment a comma-separated list is still considered best-practice for GitHub Actions, which could also work on the commandline with environment variables.
Suggested by @bruno-oliveira. We support 4 options for supplying metadata. The 4th option is based on providing input parameters to the GitHub Action, and is typically used by people that use Sigrid CI directly from GitHub Marketplace. Because those input parameters are strings, we don't currently allow people to use multiple values for the 2 metadata fields that accept arrays:
supplierNames
andteamNames
.We need to investigate if lists/arrays are nowadays supported as input parameters. If not, we can still use poor man's lists using the notation
aap,noot
, but we need to check.The text was updated successfully, but these errors were encountered: