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