Skip to content

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

Open
guanzi008 wants to merge 1 commit into
go-gitea:mainfrom
guanzi008:codex/create-status-badge
Open

feat(actions): add workflow status badge modal#38196
guanzi008 wants to merge 1 commit into
go-gitea:mainfrom
guanzi008:codex/create-status-badge

Conversation

@guanzi008

Copy link
Copy Markdown

Summary

  • Add a Create Status Badge button for selected Actions workflows.
  • Show badge URL, Markdown, and HTML snippets backed by the existing workflow badge route.
  • Add English and Simplified Chinese locale strings.

Fixes #31462

Testing

  • go test ./routers/web/repo/actions
  • python3 -m json.tool options/locale/locale_en-US.json
  • python3 -m json.tool options/locale/locale_zh-CN.json
  • jq -e . options/locale/locale_en-US.json
  • jq -e . options/locale/locale_zh-CN.json
  • git diff --check HEAD~1 HEAD

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 22, 2026
@GiteaBot

Copy link
Copy Markdown
Collaborator

@guanzi008 I noticed you've updated the locales for non-English languages. These will be overwritten during the sync from our translation tool Crowdin. If you'd like to contribute your translations, please visit https://crowdin.com/project/gitea. Please revert the changes done on these files. 🍵

1 similar comment
@GiteaBot

Copy link
Copy Markdown
Collaborator

@guanzi008 I noticed you've updated the locales for non-English languages. These will be overwritten during the sync from our translation tool Crowdin. If you'd like to contribute your translations, please visit https://crowdin.com/project/gitea. Please revert the changes done on these files. 🍵

@guanzi008 guanzi008 marked this pull request as ready for review June 22, 2026 10:29
@guanzi008 guanzi008 changed the title Add workflow status badge modal feat(actions): add workflow status badge modal Jun 22, 2026
@github-actions github-actions Bot added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Jun 22, 2026
@guanzi008 guanzi008 force-pushed the codex/create-status-badge branch from 105b3b8 to 9e00814 Compare June 22, 2026 10:39
Signed-off-by: guanzi008 <245205080@qq.com>
@bircni

bircni commented Jun 22, 2026

Copy link
Copy Markdown
Member

Please add a Screenshot

@guanzi008

Copy link
Copy Markdown
Author

请添加截图

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. type/feature Completely new functionality. Can only be merged if feature freeze is not active.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Create Status Badge to action details page

3 participants