]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
github/labeler: switch from the beta to labeler v5 12458/head
authorDan Fandrich <dan@coneharvesters.com>
Tue, 5 Dec 2023 21:17:09 +0000 (13:17 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 5 Dec 2023 21:30:35 +0000 (13:30 -0800)
Some keys were renamed and the dot option was made default.

Closes #12458

.github/labeler.yml
.github/workflows/label.yml

index 31198b476f785bcc9ec783434d0ae3b52aad589c..be585a690109e9ba0e3bc7446d4e346753e6b8c5 100644 (file)
@@ -7,17 +7,17 @@
 # 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 AnyGlobToAllFiles ones are added if all the
-# files fit into the category, and the AnyGlobToAnyFile 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).
+# 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).
 
 appleOS:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - '.github/workflows/macos.yml'
       - 'lib/config-mac.h'
       - 'lib/macos*'
@@ -28,7 +28,7 @@ appleOS:
 authentication:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/mk-ca-bundle.1'
       - 'docs/libcurl/opts/CURLINFO_HTTPAUTH*'
       - 'docs/libcurl/opts/CURLINFO_PROXYAUTH*'
@@ -51,7 +51,7 @@ authentication:
 build:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - '**/CMakeLists.txt'
       - '**/Makefile.am'
       - '**/Makefile.inc'
@@ -77,7 +77,7 @@ build:
 CI:
 - all:
   - changed-files:
-    - AnyGlobToAnyFile:
+    - any-glob-to-any-file:
       - '.azure-pipelines.yml'
       - '.circleci/**'
       - '.cirrus.yml'
@@ -91,7 +91,7 @@ CI:
 cmake:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - '**/CMakeLists.txt'
       - 'CMake/**'
       - 'docs/INSTALL.cmake'
@@ -100,14 +100,14 @@ cmake:
 cmdline tool:
 - all:
   - changed-files:
-    - AnyGlobToAnyFile:
+    - any-glob-to-any-file:
       - 'docs/cmdline-opts/**'
       - 'src/**'
 
 connecting & proxies:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/CONNECTION-FILTERS.md'
       - 'docs/examples/ipv6.c'
       - 'docs/libcurl/opts/CURLINFO_CONNECT*'
@@ -136,7 +136,7 @@ connecting & proxies:
 cookies:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/HTTP-COOKIES.md'
       - 'docs/cmdline-opts/cookie*'
       - 'docs/cmdline-opts/junk-session-cookies.d'
@@ -149,7 +149,7 @@ cookies:
 cryptography:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/CIPHERS.md'
       - 'docs/RUSTLS.md'
       - 'docs/libcurl/opts/CURLOPT_EGDSOCKET*'
@@ -163,14 +163,14 @@ cryptography:
 DICT:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'lib/dict.*'
       - 'tests/dictserver.py'
 
 documentation:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - '**/*.md'
       - '**/*.txt'
       - '**/*.1'
@@ -189,7 +189,7 @@ documentation:
 FTP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/libcurl/opts/CURLINFO_FTP*'
       - 'docs/libcurl/opts/CURLOPT_FTP*'
       - 'docs/libcurl/opts/CURLOPT_WILDCARDMATCH*'
@@ -202,13 +202,13 @@ FTP:
 GOPHER:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'lib/gopher*'
 
 HTTP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/examples/hsts*'
       - 'docs/examples/http-*'
       - 'docs/examples/httpput*'
@@ -244,7 +244,7 @@ HTTP:
 HTTP/2:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'CMake/FindNGHTTP2.cmake'
       - 'CMake/FindQUICHE.cmake'
       - 'docs/HTTP2.md'
@@ -256,7 +256,7 @@ HTTP/2:
 HTTP/3:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - '.github/workflows/ngtcp2*'
       - '.github/workflows/quiche*'
       - 'CMake/FindMSH3.cmake'
@@ -271,27 +271,27 @@ HTTP/3:
 Hyper:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/HYPER.md'
       - 'lib/c-hyper.*'
 
 IMAP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'lib/imap*'
       - 'docs/examples/imap*'
 
 LDAP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'lib/*ldap*'
 
 libcurl API:
 - all:
   - changed-files:
-    - AnyGlobToAnyFile:
+    - any-glob-to-any-file:
       - 'docs/libcurl/ABI.md'
       - 'docs/libcurl/curl_*.3'
       - 'include/curl/**'
@@ -299,7 +299,7 @@ libcurl API:
 logging:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/cmdline-opts/trace*'
       - 'docs/libcurl/curl_global_trace*'
       - 'lib/curl_trc*'
@@ -308,7 +308,7 @@ logging:
 MIME:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/libcurl/curl_form*'
       - 'docs/libcurl/curl_mime_*'
       - 'docs/libcurl/opts/CURLOPT_MIME*'
@@ -320,7 +320,7 @@ MIME:
 MQTT:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/MQTT.md'
       - 'lib/mqtt*'
       - 'tests/server/mqttd.c'
@@ -328,7 +328,7 @@ MQTT:
 name lookup:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/examples/resolve.c'
       - 'docs/libcurl/opts/CURLINFO_NAMELOOKUP*'
       - 'docs/libcurl/opts/CURLOPT_DNS*'
@@ -346,20 +346,20 @@ name lookup:
 POP3:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/examples/pop3*'
       - 'lib/pop3.*'
 
 RTMP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'lib/curl_rtmp.*'
 
 RTSP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/libcurl/opts/CURLINFO_RTSP*'
       - 'docs/libcurl/opts/CURLOPT_RTSP*'
       - 'lib/rtsp.*'
@@ -369,7 +369,7 @@ RTSP:
 SCP/SFTP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'CMake/FindLibSSH2.cmake'
       - 'docs/libcurl/opts/CURLOPT_SSH*'
       - 'docs/examples/sftp*'
@@ -380,7 +380,7 @@ SCP/SFTP:
 script:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - '**/*.pl'
       - '**/*.sh'
       - 'curl-config.in'
@@ -392,14 +392,14 @@ script:
 SMB:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'lib/smb.*'
       - 'tests/smbserver.py'
 
 SMTP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/examples/smtp-*'
       - 'docs/libcurl/opts/CURLOPT_MAIL*'
       - 'lib/smtp.*'
@@ -407,13 +407,13 @@ SMTP:
 tests:
 - all:
   - changed-files:
-    - AnyGlobToAnyFile:
+    - any-glob-to-any-file:
       - 'tests/**'
 
 TFTP:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'lib/tftp.*'
       - 'tests/tftpserver.pl'
       - 'tests/server/tftp*'
@@ -421,7 +421,7 @@ TFTP:
 TLS:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'CMake/FindBearSSL.cmake'
       - 'CMake/FindMbedTLS.cmake'
       - 'CMake/FindWolfSSL.cmake'
@@ -453,7 +453,7 @@ TLS:
 URL:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/libcurl/curl_url*'
       - 'docs/URL-SYNTAX.md'
       - 'docs/examples/parseurl*'
@@ -463,7 +463,7 @@ URL:
 WebSocket:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - 'docs/WEBSOCKET.md*'
       - 'docs/examples/websocket*'
       - 'docs/libcurl/curl_ws_*'
@@ -478,7 +478,7 @@ WebSocket:
 Windows:
 - all:
   - changed-files:
-    - AnyGlobToAllFiles:
+    - any-glob-to-all-files:
       - '**/Makefile.mk'
       - 'appveyor.yml'
       - 'CMake/Platforms/WindowsCache.cmake'
index 6a157d24047083d1e94c25e4ae91c1153e4514cf..df841cf88c322ba8362f1356dbbc02ccccfa9bf7 100644 (file)
@@ -21,8 +21,6 @@ jobs:
       pull-requests: write
 
     steps:
-    - uses: actions/labeler@v5.0.0-beta.1
+    - uses: actions/labeler@v5
       with:
         repo-token: "${{ secrets.GITHUB_TOKEN }}"
-        # This is documented but doesn't work yet:
-        #dot: true