mirror of
https://github.com/actions/toolkit.git
synced 2026-08-11 00:00:28 +02:00
Support '*' wildcard
This commit is contained in:
@@ -52,6 +52,7 @@ export function checkBypass(reqUrl: URL): boolean {
|
||||
.map(x => x.trim().toUpperCase())
|
||||
.filter(x => x)) {
|
||||
if (
|
||||
upperNoProxyItem === '*' ||
|
||||
upperReqHosts.some(
|
||||
x =>
|
||||
x === upperNoProxyItem ||
|
||||
|
||||
Reference in New Issue
Block a user