1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 11:34:26 +00:00
gitea/docs/content/usage/actions/badge.en-us.md
Giteabot 7ecb1d63bb
Move documents under actions (#31110) (#31116)
Backport #31110 by @lunny

Move secrets and badge under actions

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-05-27 23:05:49 +08:00

1.1 KiB

date title slug sidebar_position toc draft menu
2023-02-25T00:00:00+00:00 Badge badge 11 false false
sidebar
parent name sidebar_position identifier
actions Badge 11 Badge

Badge

Gitea has its builtin Badge system which allows you to display the status of your repository in other places. You can use the following badges:

Workflow Badge

The Gitea Actions workflow badge is a badge that shows the status of the latest workflow run. It is designed to be compatible with GitHub Actions workflow badge.

You can use the following URL to get the badge:

https://your-gitea-instance.com/{owner}/{repo}/actions/workflows/{workflow_file}?branch={branch}&event={event}
  • {owner}: The owner of the repository.
  • {repo}: The name of the repository.
  • {workflow_file}: The name of the workflow file.
  • {branch}: Optional. The branch of the workflow. Default to your repository's default branch.
  • {event}: Optional. The event of the workflow. Default to none.