Skip to content

Add badge for Gitea Actions to display result in README.md #23688

Closed
@lolo32

Description

@lolo32

Feature Description

Like it exists on GitHub or other CI, it could be interesting to add a SVG badge to integrate into markdown in example.

The documentation to use it on GitHub could be found https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge

An URL like https://<GITEA_INSTANCE>/<OWNER>/<REPOSITORY>/actions/workflows/<WORKFLOW_FILE>/badge.svg with:

  • GITEA_INSTANCE the domain/url of the Gate server
  • OWNER the project owner/organisation
  • REPOSITORY the repository name
  • WORLFLOW_FILE the filename of the action that trigged the build, and so, the result of the build

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/gitea-actionsrelated to the actions of Giteatype/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions