Skip to content

Commit 6dc641c

Browse files
author
Edward Thomson
authored
actions: use push as the example for workflow status badges (#23912)
1 parent edc26cf commit 6dc641c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ This Markdown example adds a status badge for a branch with the name `feature-1`
3939

4040
## Using the `event` parameter
4141

42-
This Markdown example adds a badge that displays the status of workflow runs triggered by the `pull_request` event.
42+
This Markdown example adds a badge that displays the status of workflow runs triggered by the `push` event, which will show the status of the build for the current state of that branch.
4343

4444
```markdown
45-
![example event parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?event=pull_request)
45+
![example event parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?event=push)
4646
```

0 commit comments

Comments
 (0)