labeler.yml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. # Copyright (C) Daniel Fandrich, <dan@coneharvesters.com>, et al.
  2. #
  3. # SPDX-License-Identifier: curl
  4. # The workflow configures the .github/workflows/label.yml action
  5. # to add labels to pull requests. This is not (yet?) a replacement for human
  6. # triaging, but is intended to add labels to the easy cases. If the matching
  7. # language becomes more powerful, more cases should be able to be handled.
  8. #
  9. # The biggest low-hanging problem is this:
  10. # It looks like there's no way of specifying that a label be added if *all* the
  11. # files match *any* one of a number of globs. This feature request is tracked
  12. # in https://github.com/actions/labeler/issues/423
  13. authentication:
  14. - all: ['docs/mk-ca-bundle.1']
  15. - all: ['docs/libcurl/opts/CURLINFO_HTTPAUTH*']
  16. - all: ['docs/libcurl/opts/CURLINFO_PROXYAUTH*']
  17. - all: ['docs/libcurl/opts/CURLOPT_KRB*']
  18. - all: ['docs/libcurl/opts/CURLOPT_SASL*']
  19. - all: ['docs/libcurl/opts/CURLOPT_SERVICE_NAME*']
  20. - all: ['docs/libcurl/opts/CURLOPT_USERNAME*']
  21. - all: ['docs/libcurl/opts/CURLOPT_USERPWD*']
  22. - all: ['docs/libcurl/opts/CURLOPT_XOAUTH*']
  23. - all: ['lib/*gssapi*']
  24. - all: ['lib/*krb5*']
  25. - all: ['lib/*ntlm*']
  26. - all: ['lib/curl_sasl.*']
  27. - all: ['lib/http_aws*']
  28. - all: ['lib/http_digest.*']
  29. - all: ['lib/http_negotiate.*']
  30. - all: ['lib/vauth/**']
  31. - all: ['tests/server/fake_ntlm.c']
  32. build:
  33. - all: ['**/CMakeLists.txt']
  34. - all: ['**/Makefile.am']
  35. - all: ['**/Makefile.inc']
  36. - all: ['**/Makefile.mk']
  37. - all: ['**/*.m4']
  38. - all: ['**/*.mk']
  39. - all: ['lib/libcurl*.in']
  40. - all: ['CMake/**']
  41. - all: ['configure.ac']
  42. - all: ['m4/**']
  43. - all: ['MacOSX-Framework']
  44. - all: ['packages/**']
  45. - all: ['plan9/**']
  46. - all: ['projects/**']
  47. - all: ['winbuild/**']
  48. CI:
  49. - any: ['.azure-pipelines.yml']
  50. - any: ['.circleci/**']
  51. - any: ['.cirrus.yml']
  52. - any: ['.github/**']
  53. - any: ['appveyor.yml']
  54. - any: ['tests/azure.pm']
  55. - any: ['tests/appveyor.pm']
  56. - any: ['tests/CI.pm']
  57. cmake:
  58. - all: ['**/CMakeLists.txt']
  59. - all: ['CMake/**']
  60. cmdline tool:
  61. - any: ['docs/cmdline-opts/**']
  62. - any: ['src/**']
  63. connecting & proxies:
  64. - all: ['docs/CONNECTION-FILTERS.md']
  65. - all: ['docs/libcurl/opts/CURLINFO_CONNECT*']
  66. - all: ['docs/libcurl/opts/CURLINFO_PROXY*']
  67. - all: ['docs/libcurl/opts/CURLOPT_ADDRESS*']
  68. - all: ['docs/libcurl/opts/CURLOPT_CONNECT*']
  69. - all: ['docs/libcurl/opts/CURLOPT_HAPROXY*']
  70. - all: ['docs/libcurl/opts/CURLOPT_OPENSOCKET*']
  71. - all: ['docs/libcurl/opts/CURLOPT_PRE_PROXY*']
  72. - all: ['docs/libcurl/opts/CURLOPT_PROXY*']
  73. - all: ['docs/libcurl/opts/CURLOPT_SOCKOPT*']
  74. - all: ['docs/libcurl/opts/CURLOPT_SOCKS*']
  75. - all: ['docs/libcurl/opts/CURLOPT_TCP*']
  76. - all: ['docs/libcurl/opts/CURLOPT_TIMEOUT*']
  77. - all: ['lib/cf-*proxy.*']
  78. - all: ['lib/cf-socket.*']
  79. - all: ['lib/cfilters.*']
  80. - all: ['lib/conncache.*']
  81. - all: ['lib/connect.*']
  82. - all: ['lib/http_proxy.*']
  83. - all: ['lib/if2ip.*']
  84. - all: ['lib/noproxy.*']
  85. - all: ['lib/socks.*']
  86. - all: ['tests/server/socksd.c']
  87. cookies:
  88. - all: ['docs/HTTP-COOKIES.md']
  89. - all: ['docs/libcurl/opts/CURLINFO_COOKIE*']
  90. - all: ['docs/libcurl/opts/CURLOPT_COOKIE*']
  91. - all: ['lib/cookie.*']
  92. - all: ['lib/psl.*']
  93. cryptography:
  94. - all: ['docs/CIPHERS.md']
  95. - all: ['docs/RUSTLS.md']
  96. - all: ['docs/libcurl/opts/CURLOPT_EGDSOCKET*']
  97. - all: ['lib/*sha256*']
  98. - all: ['lib/curl_des.*']
  99. - all: ['lib/curl_hmac.*']
  100. - all: ['lib/curl_md?.*']
  101. - all: ['lib/md?.*']
  102. - all: ['lib/rand.*']
  103. DICT:
  104. - all: ['lib/dict.*']
  105. - all: ['tests/dictserver.py']
  106. documentation:
  107. - all: ['**/*.md']
  108. - all: ['**/*.txt', '!**/CMakeLists.txt']
  109. - all: ['**/*.1']
  110. - all: ['**/*.3']
  111. - all: ['CHANGES']
  112. - all: ['docs/**', '!docs/examples/**']
  113. - all: ['GIT-INFO']
  114. - all: ['LICENSES/**']
  115. - all: ['README']
  116. - all: ['RELEASE-NOTES']
  117. FTP:
  118. - all: ['docs/libcurl/opts/CURLINFO_FTP*']
  119. - all: ['docs/libcurl/opts/CURLOPT_FTP*']
  120. - all: ['docs/libcurl/opts/CURLOPT_WILDCARDMATCH*']
  121. - all: ['lib/curl_fnmatch.*']
  122. - all: ['lib/curl_range.*']
  123. - all: ['lib/ftp*']
  124. - all: ['tests/ftp*']
  125. GOPHER:
  126. - all: ['lib/gopher*']
  127. HTTP:
  128. - all: ['docs/HSTS.md']
  129. - all: ['docs/HTTP-COOKIES.md']
  130. - all: ['docs/libcurl/opts/CURLINFO_COOKIE*']
  131. - all: ['docs/libcurl/opts/CURLOPT_COOKIE*']
  132. - all: ['docs/libcurl/opts/CURLINFO_HTTP_**']
  133. - all: ['docs/libcurl/opts/CURLINFO_REDIRECT*']
  134. - all: ['docs/libcurl/opts/CURLINFO_REFER*']
  135. - all: ['docs/libcurl/opts/CURLOPT_FOLLOWLOCATION*']
  136. - all: ['docs/libcurl/opts/CURLOPT_HSTS*']
  137. - all: ['docs/libcurl/opts/CURLOPT_HTTP*']
  138. - all: ['docs/libcurl/opts/CURLOPT_POST.*']
  139. - all: ['docs/libcurl/opts/CURLOPT_POSTFIELD*']
  140. - all: ['docs/libcurl/opts/CURLOPT_POSTREDIR*']
  141. - all: ['docs/libcurl/opts/CURLOPT_REDIR*']
  142. - all: ['docs/libcurl/opts/CURLOPT_REFER*']
  143. - all: ['docs/libcurl/opts/CURLOPT_TRAILER*']
  144. - all: ['docs/libcurl/opts/CURLOPT_TRANSFER_ENCODING*']
  145. - all: ['lib/cf-https*']
  146. - all: ['lib/cf-h1*']
  147. - all: ['lib/cf-h2*']
  148. - all: ['lib/cookie.*']
  149. - all: ['lib/http*']
  150. - all: ['tests/http*']
  151. - all: ['tests/http-server.pl']
  152. - all: ['tests/http/*']
  153. - all: ['tests/nghttp*']
  154. - all: ['tests/tests-httpd/*']
  155. HTTP/2:
  156. - all: ['docs/HTTP2.md']
  157. - all: ['docs/libcurl/opts/CURLOPT_STREAM*']
  158. - all: ['lib/http2*']
  159. - all: ['tests/http2-server.pl']
  160. HTTP/3:
  161. - all: ['.github/workflows/ngtcp2*']
  162. - all: ['.github/workflows/pytest.yml']
  163. - all: ['docs/HTTP3.md']
  164. - all: ['lib/vquic/**']
  165. - all: ['tests/http3-server.pl']
  166. - all: ['tests/nghttpx.conf']
  167. Hyper:
  168. - all: ['lib/c-hyper.*']
  169. IMAP:
  170. - all: ['lib/imap*']
  171. LDAP:
  172. - all: ['lib/*ldap*']
  173. libcurl API:
  174. - all: ['docs/libcurl/ABI.md']
  175. - any: ['include/curl/**']
  176. MIME:
  177. - all: ['docs/libcurl/curl_mime_*']
  178. - all: ['docs/libcurl/opts/CURLOPT_MIME*']
  179. - all: ['lib/mime*']
  180. MQTT:
  181. - all: ['docs/MQTT.md']
  182. - all: ['lib/mqtt*']
  183. - all: ['tests/server/mqttd.c']
  184. name lookup:
  185. - all: ['docs/libcurl/opts/CURLINFO_NAMELOOKUP*']
  186. - all: ['docs/libcurl/opts/CURLOPT_DNS*']
  187. - all: ['docs/libcurl/opts/CURLOPT_DOH*']
  188. - all: ['docs/libcurl/opts/CURLOPT_RESOLVE*']
  189. - all: ['lib/asyn*']
  190. - all: ['lib/curl_gethostname.*']
  191. - all: ['lib/doh*']
  192. - all: ['lib/host*']
  193. - all: ['lib/idn*']
  194. - all: ['lib/inet_pton.*']
  195. - all: ['lib/socketpair*']
  196. - all: ['tests/server/resolve.c']
  197. POP3:
  198. - all: ['lib/pop3.*']
  199. RTMP:
  200. - all: ['lib/curl_rtmp.*']
  201. RTSP:
  202. - all: ['docs/libcurl/opts/CURLINFO_RTSP*']
  203. - all: ['docs/libcurl/opts/CURLOPT_RTSP*']
  204. - all: ['lib/rtsp.*']
  205. - all: ['tests/rtspserver.pl']
  206. - all: ['tests/server/rtspd.c']
  207. SCP/SFTP:
  208. - all: ['docs/libcurl/opts/CURLOPT_SSH*']
  209. - all: ['lib/vssh/**']
  210. - all: ['tests/sshhelp.pm']
  211. - all: ['tests/sshserver.pl']
  212. script:
  213. - all: ['**/*.pl']
  214. - all: ['**/*.sh']
  215. - all: ['curl-config.in']
  216. - all: ['docs/curl-config.1']
  217. - all: ['docs/mk-ca-bundle.1']
  218. - all: ['docs/THANKS-filter']
  219. - all: ['scripts/**']
  220. SMB:
  221. - all: ['lib/smb.*']
  222. - all: ['tests/smbserver.py']
  223. SMTP:
  224. - all: ['docs/libcurl/opts/CURLOPT_MAIL*']
  225. - all: ['lib/smtp.*']
  226. tests:
  227. - any: ['tests/**']
  228. TFTP:
  229. - all: ['lib/tftp.*']
  230. - all: ['tests/tftpserver.pl']
  231. - all: ['tests/server/tftp*']
  232. TLS:
  233. - all: ['docs/HYPER.md']
  234. - all: ['docs/SSL*']
  235. - all: ['docs/libcurl/opts/CURLINFO_CA*']
  236. - all: ['docs/libcurl/opts/CURLINFO_CERT*']
  237. - all: ['docs/libcurl/opts/CURLINFO_SSL*']
  238. - all: ['docs/libcurl/opts/CURLINFO_TLS*']
  239. - all: ['docs/libcurl/opts/CURLOPT_CA*']
  240. - all: ['docs/libcurl/opts/CURLOPT_CERT*']
  241. - all: ['docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY*']
  242. - all: ['docs/libcurl/opts/CURLOPT_SSL*']
  243. - all: ['docs/libcurl/opts/CURLOPT_TLS*']
  244. - all: ['docs/libcurl/opts/CURLOPT_USE_SSL*']
  245. - all: ['lib/vtls/**']
  246. URL:
  247. - all: ['docs/libcurl/curl_url*']
  248. - all: ['docs/URL-SYNTAX.md']
  249. - all: ['include/curl/urlapi.h']
  250. - all: ['lib/urlapi*']
  251. WebSocket:
  252. - all: ['docs/WEBSOCKET.md*']
  253. - all: ['docs/libcurl/opts/CURLOPT_WS_*']
  254. - all: ['docs/libcurl/curl_ws_*']
  255. - all: ['include/curl/websockets.h']
  256. - all: ['lib/ws.*']
  257. Windows:
  258. - all: ['CMake/Platforms/WindowsCache.cmake']
  259. - all: ['lib/*win32*']
  260. - all: ['lib/curl_multibyte.*']
  261. - all: ['lib/rename.*']
  262. - all: ['lib/vtls/schannel*']
  263. - all: ['m4/curl-schannel.m4']
  264. - all: ['projects/**']
  265. - all: ['src/tool_doswin.c']
  266. - all: ['winbuild/**']