2023-12-11 20:30:44 -05:00
|
|
|
# Copyright (C) Daniel Fandrich, <dan@coneharvesters.com>, et al.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: curl
|
|
|
|
|
|
|
|
# The workflow configures the .github/workflows/label.yml action
|
|
|
|
# to add labels to pull requests. This is not (yet?) a replacement for human
|
|
|
|
# triaging, but is intended to add labels to the easy cases. If the matching
|
|
|
|
# language becomes more powerful, more cases should be able to be handled.
|
|
|
|
#
|
|
|
|
# Labels are added in two ways: the any-glob-to-all-files ones are added if all
|
|
|
|
# the files fit into the category, and the any-glob-to-any-file ones are added
|
|
|
|
# as long as any file matches. The first ones are for "major" categories (the
|
|
|
|
# PR is all about that one topic, like HTTP/3), while the second ones are
|
|
|
|
# "addendums" that give useful information about a PR that's really mostly
|
|
|
|
# something else (e.g. CI if the PR also touches CI jobs).
|
2024-05-15 15:20:32 -04:00
|
|
|
#
|
|
|
|
# N.B. any-glob-to-all-files is misnamed; it acts like one-glob-to-all-files.
|
|
|
|
# Therefore, to get any-glob-to-all-files semantics, there must be a single glob
|
|
|
|
# with all matching patterns within braces.
|
|
|
|
#
|
|
|
|
# See https://github.com/actions/labeler/ for documentation on this file.
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
appleOS:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{.github/workflows/macos.yml,lib/config-mac.h,lib/macos*,lib/vtls/sectransp*,m4/curl-sectransp.m4,MacOSX-Framework}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
authentication:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/mk-ca-bundle.1,docs/libcurl/opts/CURLINFO_HTTPAUTH*,docs/libcurl/opts/CURLINFO_PROXYAUTH*,docs/libcurl/opts/CURLOPT_KRB*,docs/libcurl/opts/CURLOPT_SASL*,docs/libcurl/opts/CURLOPT_SERVICE_NAME*,docs/libcurl/opts/CURLOPT_USERNAME*,docs/libcurl/opts/CURLOPT_USERPWD*,docs/libcurl/opts/CURLOPT_XOAUTH*,lib/*gssapi*,lib/*krb5*,lib/*ntlm*,lib/curl_sasl.*,lib/http_aws*,lib/http_digest.*,lib/http_negotiate.*,lib/vauth/**,tests/server/fake_ntlm.c}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
build:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{**/CMakeLists.txt,**/Makefile.am,**/Makefile.inc,**/Makefile.mk,**/*.m4,**/*.mk,*.m4,docs/INSTALL.cmake,lib/curl_config.h.cmake,lib/libcurl*.in,CMake/**,CMakeLists.txt,configure.ac,m4/**,MacOSX-Framework,Makefile.*,packages/**,plan9/**,projects/**,winbuild/**,libcurl.def}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
CI:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-any-file:
|
|
|
|
- '.azure-pipelines.yml'
|
|
|
|
- '.circleci/**'
|
|
|
|
- '.cirrus.yml'
|
|
|
|
- '.github/**'
|
|
|
|
- 'appveyor.*'
|
|
|
|
- 'scripts/ci*'
|
|
|
|
- 'tests/azure.pm'
|
|
|
|
- 'tests/appveyor.pm'
|
|
|
|
- 'tests/CI.md'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
cmake:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{**/CMakeLists.txt,CMake/**,docs/INSTALL.cmake,lib/curl_config.h.cmake}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
cmdline tool:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-any-file:
|
|
|
|
- 'docs/cmdline-opts/**'
|
|
|
|
- 'src/**'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
connecting & proxies:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/CONNECTION-FILTERS.md,docs/examples/ipv6.c,docs/libcurl/opts/CURLINFO_CONNECT*,docs/libcurl/opts/CURLINFO_PROXY*,docs/libcurl/opts/CURLOPT_ADDRESS*,docs/libcurl/opts/CURLOPT_CONNECT*,docs/libcurl/opts/CURLOPT_HAPROXY*,docs/libcurl/opts/CURLOPT_OPENSOCKET*,docs/libcurl/opts/CURLOPT_PRE_PROXY*,docs/libcurl/opts/CURLOPT_PROXY*,docs/libcurl/opts/CURLOPT_SOCKOPT*,docs/libcurl/opts/CURLOPT_SOCKS*,docs/libcurl/opts/CURLOPT_TCP*,docs/libcurl/opts/CURLOPT_TIMEOUT*,lib/cf-*proxy.*,lib/cf-socket.*,lib/cfilters.*,lib/conncache.*,lib/connect.*,lib/http_proxy.*,lib/if2ip.*,lib/noproxy.*,lib/socks.*,tests/server/socksd.c}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
cookies:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/HTTP-COOKIES.md,docs/cmdline-opts/cookie*,docs/cmdline-opts/junk-session-cookies.md,docs/libcurl/opts/CURLINFO_COOKIE*,docs/libcurl/opts/CURLOPT_COOKIE*,docs/examples/cookie_interface.c,lib/cookie.*,lib/psl.*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
cryptography:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/CIPHERS.md,docs/RUSTLS.md,docs/libcurl/opts/CURLOPT_EGDSOCKET*,lib/*sha256*,lib/*sha512*,lib/curl_des.*,lib/curl_hmac.*,lib/curl_md?.*,lib/md?.*,lib/rand.*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
DICT:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{lib/dict.*,tests/dictserver.py}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
documentation:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{.github/workflows/badwords.yml,.github/workflows/man-examples.yml,.github/workflows/synopsis.yml,.github/scripts/badwords.*,.github/scripts/cd2cd,.github/scripts/cd2nroff,.github/scripts/cdall.pl,.github/scripts/nroff2cd,.github/scripts/verify-examples.pl,.github/scripts/verify-synopsis.pl,**/*.md,**/*.txt,**/*.1,CHANGES,docs/**,LICENSES/**,README,RELEASE-NOTES,scripts/cd*}'
|
|
|
|
- all-globs-to-all-files:
|
|
|
|
# negative matches
|
|
|
|
- '!**/CMakeLists.txt'
|
|
|
|
- '!**/Makefile.am'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
FTP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/libcurl/opts/CURLINFO_FTP*,docs/libcurl/opts/CURLOPT_FTP*,docs/libcurl/opts/CURLOPT_WILDCARDMATCH*,docs/examples/ftp*,lib/curl_fnmatch.*,lib/curl_range.*,lib/ftp*,tests/ftp*'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
GOPHER:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{lib/gopher*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
HTTP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/examples/hsts*,docs/examples/http-*,docs/examples/httpput*,docs/examples/https*,docs/examples/*post*,docs/HSTS.md,docs/HTTP-COOKIES.md,docs/libcurl/opts/CURLINFO_COOKIE*,docs/libcurl/opts/CURLOPT_COOKIE*,docs/libcurl/opts/CURLINFO_HTTP_**,docs/libcurl/opts/CURLINFO_REDIRECT*,docs/libcurl/opts/CURLINFO_REFER*,docs/libcurl/opts/CURLOPT_FOLLOWLOCATION*,docs/libcurl/opts/CURLOPT_HSTS*,docs/libcurl/opts/CURLOPT_HTTP*,docs/libcurl/opts/CURLOPT_POST.*,docs/libcurl/opts/CURLOPT_POSTFIELD*,docs/libcurl/opts/CURLOPT_POSTREDIR*,docs/libcurl/opts/CURLOPT_REDIR*,docs/libcurl/opts/CURLOPT_REFER*,docs/libcurl/opts/CURLOPT_TRAILER*,docs/libcurl/opts/CURLOPT_TRANSFER_ENCODING*,lib/cf-https*,lib/cf-h1*,lib/cf-h2*,lib/cookie.*,lib/http*,tests/http*,tests/http-server.pl,tests/http/*,tests/nghttp*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
HTTP/2:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{CMake/FindNGHTTP2.cmake,CMake/FindQUICHE.cmake,docs/HTTP2.md,docs/libcurl/opts/CURLOPT_STREAM*,docs/examples/http2*,lib/http2*,tests/http2-server.pl}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
HTTP/3:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{.github/workflows/ngtcp2*,.github/workflows/quiche*,.github/workflows/osslq*,CMake/FindMSH3.cmake,CMake/FindNGHTTP3.cmake,CMake/FindNGTCP2.cmake,docs/HTTP3.md,docs/examples/http3*,lib/vquic/**,tests/http3-server.pl,tests/nghttpx.conf}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
Hyper:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/HYPER.md,lib/c-hyper.*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
IMAP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{lib/imap*,docs/examples/imap*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
LDAP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{lib/*ldap*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
libcurl API:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-any-file:
|
|
|
|
- 'docs/libcurl/ABI.md'
|
|
|
|
- 'docs/libcurl/curl_*.md'
|
|
|
|
- 'include/curl/**'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
logging:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/cmdline-opts/trace*,docs/libcurl/curl_global_trace*,lib/curl_trc*,tests/http/test_15_tracing.py}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
MIME:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/libcurl/curl_form*,docs/libcurl/curl_mime_*,docs/libcurl/opts/CURLOPT_MIME*,docs/libcurl/opts/CURLOPT_HTTPPOST*,lib/formdata*,lib/mime*,src/tool_formparse.*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
MQTT:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/MQTT.md,lib/mqtt*,tests/server/mqttd.c}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
name lookup:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/examples/resolve.c,docs/libcurl/opts/CURLINFO_NAMELOOKUP*,docs/libcurl/opts/CURLOPT_DNS*,docs/libcurl/opts/CURLOPT_DOH*,docs/libcurl/opts/CURLOPT_RESOLVE*,lib/asyn*,lib/curl_gethostname.*,lib/doh*,lib/host*,lib/idn*,lib/inet_pton.*,lib/socketpair*,tests/server/resolve.c}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
POP3:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/examples/pop3*,lib/pop3.*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
RTMP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{lib/curl_rtmp.*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
RTSP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/libcurl/opts/CURLINFO_RTSP*,docs/libcurl/opts/CURLOPT_RTSP*,lib/rtsp.*,tests/rtspserver.pl,tests/server/rtspd.c}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
SCP/SFTP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{CMake/FindLibSSH2.cmake,docs/libcurl/opts/CURLOPT_SSH*,docs/examples/sftp*,lib/vssh/**,tests/sshhelp.pm,tests/sshserver.pl}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
script:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{**/*.pl,**/*.sh,curl-config.in,docs/curl-config.1,docs/mk-ca-bundle.1,docs/THANKS-filter,scripts/**}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
SMB:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{lib/smb.*,tests/smbserver.py}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
SMTP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/examples/smtp-*,docs/libcurl/opts/CURLOPT_MAIL*,lib/smtp.*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
tests:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-any-file:
|
|
|
|
- 'tests/**'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
TFTP:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{lib/tftp.*,tests/tftpserver.pl,tests/server/tftp*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
TLS:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{CMake/FindBearSSL.cmake,CMake/FindMbedTLS.cmake,CMake/FindWolfSSL.cmake,docs/examples/ssl*,docs/examples/*ssl.*,docs/examples/*tls.*,docs/SSL*,docs/libcurl/curl_global_sslset*,docs/libcurl/opts/CURLINFO_CA*,docs/libcurl/opts/CURLINFO_CERT*,docs/libcurl/opts/CURLINFO_SSL*,docs/libcurl/opts/CURLINFO_TLS*,docs/libcurl/opts/CURLOPT_CA*,docs/libcurl/opts/CURLOPT_CERT*,docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY*,docs/libcurl/opts/CURLOPT_SSL*,docs/libcurl/opts/CURLOPT_TLS*,docs/libcurl/opts/CURLOPT_USE_SSL*,lib/vtls/**,m4/curl-bearssl.m4,m4/curl-gnutls.m4,m4/curl-mbedtls.m4,m4/curl-openssl.m4,m4/curl-rustls.m4,m4/curl-schannel.m4,m4/curl-sectransp.m4,m4/curl-wolfssl.m4}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
URL:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/libcurl/curl_url*,docs/URL-SYNTAX.md,docs/examples/parseurl*,include/curl/urlapi.h,lib/urlapi*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
WebSocket:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{docs/WEBSOCKET.md*,docs/examples/websocket*,docs/libcurl/curl_ws_*,docs/libcurl/libcurl-ws*,docs/libcurl/opts/CURLOPT_WS_*,include/curl/websockets.h,lib/ws.*,tests/http/clients/ws*,tests/http/test_20_websockets.py,tests/http/testenv/ws*}'
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
Windows:
|
2024-05-15 15:20:32 -04:00
|
|
|
- all:
|
|
|
|
- changed-files:
|
|
|
|
- any-glob-to-all-files:
|
|
|
|
- '{appveyor.*,CMake/Platforms/WindowsCache.cmake,lib/*win32*,lib/curl_multibyte.*,lib/rename.*,lib/vtls/schannel*,m4/curl-schannel.m4,projects/**,src/tool_doswin.c,winbuild/**,libcurl.def}'
|