feat(actions): add workflow status badge modal (#38196)

- Add a Create Status Badge button for selected Actions workflows.
- Show badge URL, Markdown, and HTML snippets backed by the existing
workflow badge route.

## Screenshots
<img width="553" height="470" alt="dyn-a5d565ab915b9ffb6c02ac68113494b0"
src="https://github.com/user-attachments/assets/43b4ceb9-bbd1-4024-b058-d85ec8325e88"
/>
<img width="349" height="156" alt="grafik"
src="https://github.com/user-attachments/assets/6eaec62d-ffb0-45c0-b63d-866a41a66005"
/>



Fixes https://github.com/go-gitea/gitea/issues/31462

---------

Signed-off-by: guanzi008 <245205080@qq.com>
Co-authored-by: bircni <bircni@icloud.com>
This commit is contained in:
guanzi008
2026-06-28 01:36:45 +02:00
committed by GitHub
co-authored by bircni
parent d392fb1438
commit 9540292596
6 changed files with 210 additions and 2 deletions
+5
View File
@@ -3833,6 +3833,11 @@
"actions.workflow.enable_success": "Workflow '%s' enabled successfully.",
"actions.workflow.disabled": "Workflow is disabled.",
"actions.workflow.run": "Run Workflow",
"actions.workflow.create_status_badge": "Create status badge",
"actions.workflow.status_badge": "Status Badge",
"actions.workflow.status_badge_url": "Badge URL",
"actions.workflow.status_badge_markdown": "Markdown",
"actions.workflow.status_badge_html": "HTML",
"actions.workflow.not_found": "Workflow '%s' not found.",
"actions.workflow.run_success": "Workflow '%s' run successfully.",
"actions.workflow.from_ref": "Use workflow from",