mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 18:23:16 +08:00
Support '*' wildcard (#1355)
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