Logo
Explore Help
Sign In
cerc-io/gitea
Watch 11
Star 0
Fork 0
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
knacker_workaround_backport
gitea/modules/issue/template
T
History
Jason Song d3f850cc0e Support comma-delimited string as labels in issue template (#21831)
The [labels in issue YAML
templates](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms#top-level-syntax)
can be a string array or a comma-delimited string, so a single string
should be valid labels.

The old codes committed in #20987 ignore this, that's why the warning is
displayed:

<img width="618" alt="image"
src="https://user-images.githubusercontent.com/9418365/202112642-93dc72d0-71c3-40a2-9720-30fc2d48c97c.png">

Fixes #17877.
2022-11-19 15:22:15 +00:00
..
template_test.go
Support comma-delimited string as labels in issue template (#21831)
2022-11-19 15:22:15 +00:00
template.go
Support comma-delimited string as labels in issue template (#21831)
2022-11-19 15:22:15 +00:00
unmarshal.go
Support comma-delimited string as labels in issue template (#21831)
2022-11-19 15:22:15 +00:00
Powered by Gitea Version: 1.27.3 Page: 38ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API