To display the status of a workflow run for a specific branch, add ?branch=BRANCH-NAME to the end of the status badge URL.įor example, add the following Markdown to your README.md file to display a status badge for a branch with the name feature-1. The OWNER of the repository is the github organization and the REPOSITORY name is docs. For more information about image markup in Markdown, see " Basic writing and formatting syntax."įor example, add the following Markdown to your README.md file to add a status badge for a workflow with the file path. To display the workflow status badge in your README.md file, use the Markdown markup for embedding images. You can build the URL for a workflow status badge using the name of the workflow file: For more information about image markup in Markdown, see " Basic writing and formatting syntax." Using the workflow file name Then you can use Markdown to display the badge as an image in your README.md file. To add a workflow status badge to your README.md file, first find the URL for the status badge you would like to display. You can also display the status of a workflow run for a specific branch or event using the branch and event query parameters in the URL. By default, badges display the status of your default branch. ![]() A common place to add a status badge is in the README.md file of your repository, but you can add it to any web page you'd like.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |