Skip to content

Commit 370379a

Browse files
Add content in docs about "Create status badge" button on the "Actions" tab (#55259)
Co-authored-by: Sophie <[email protected]>
1 parent 92fb340 commit 370379a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

content/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ versions:
2020

2121
To add a workflow status badge to your `README.md` file, first find the URL for the status badge you would like to display. Then you can use Markdown to display the badge as an image in your `README.md` file. For more information about image markup in Markdown, see [AUTOTITLE](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#images).
2222

23+
## Using the UI
24+
25+
You can create a workflow status badge directly on the UI using the workflow file name, branch parameter, and event parameter.
26+
27+
{% data reusables.repositories.navigate-to-repo %}
28+
{% data reusables.repositories.actions-tab %}
29+
{% data reusables.repositories.navigate-to-workflow %}
30+
1. On the right side of the page, next to the "Filter workflow runs" field, click {% octicon "kebab-horizontal" aria-label="Show workflow options" %} to display a dropdown menu and click **Create status badge**.
31+
1. Optionally, select a branch if you want to display the status badge for a branch different from the default branch.
32+
1. Optionally, select the event that will trigger the workflow.
33+
1. Click **{% octicon "copy" aria-hidden="true" %} Copy status badge Markdown**.
34+
1. Copy the Markdown into your `README.md` file.
35+
2336
## Using the workflow file name
2437

2538
You can build the URL for a workflow status badge using the name of the workflow file:

0 commit comments

Comments
 (0)