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
I need the github branchname in asciidoc too. I woukd like to use it for dynamic badges from shields.io to set the right version of an openapi interface in develop, main and feature branches. Right now the badge is only working for one branch.
Example for branch develop: image:https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgematik%2Fapi-kim%2Fdevelop%2Fsrc%2Fopenapi%2FServiceInformation.yaml&query=%24.info.version&style=plastic&logo=openapiinitiative&logoColor=green&label=ServiceInformation&color=green[link="src/openapi/ServiceInformation.yaml"]
Hi,
you can create status badges like so:
For asciidoc, a branch name variable seems feasible, but is undocumented.
Example:
{github.branchname}
or similar.The text was updated successfully, but these errors were encountered: