You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix#37128
* Manually tested with various cases (issue, pr) X (close, reopen)
* Fix#36792
* Fix the comment
* Fix#36755
* Add a "sleep 3"
* Follow up #36697
* Clarify the "attachment uploading" problem and function call
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
1182
+
;; Comma-separated list of allowed release attachment file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
1182
1183
;ALLOWED_TYPES =
1183
1184
;;
1184
1185
;; Number of releases that are displayed on release page
1185
1186
;DEFAULT_PAGING_NUM = 10
1186
1187
;;
1187
-
;; Max size of each file in megabytes. Defaults to 2GB
1188
+
;; Max size of each release attachment file in megabytes. Defaults to 2GB
1188
1189
;FILE_MAX_SIZE = 2048
1189
1190
;;
1190
-
;; Max number of files per upload. Defaults to 5
1191
+
;; Max number of release attachment files per upload. Defaults to 5
;; Whether issue and pull request attachments are enabled. Defaults to `true`
1998
+
;; Whether issue, pull-request and release attachments are enabled. Defaults to `true`
1999
+
;; ALLOWED_TYPES/MAX_SIZE/MAX_FILES in this section only affect issue and pull-request attachments, not release attachments.
2000
+
;; Release attachment has its own config options in [repository.release] section.
1998
2001
;ENABLED = true
1999
2002
;;
2000
-
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
2003
+
;; Comma-separated list of allowed issue/pull-request attachment file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
0 commit comments