3 Commits

Author SHA1 Message Date
ciiiii
803d1b49d2 Remove conditions 2024-06-14 12:51:08 +08:00
ciiiii
da1c68867e Fix event type 2024-06-14 12:45:36 +08:00
ciiiii
fbc76c1ae6 Trigger with pull_request_target 2024-06-14 12:43:43 +08:00
2 changed files with 1 additions and 4 deletions

View File

@@ -1,9 +1,7 @@
name: Deploy to Cloudflare Workers(Staging)
on:
pull_request:
branches:
- master
pull_request_target:
paths-ignore:
- '**.md'
repository_dispatch:

View File

@@ -68,7 +68,6 @@ async function handleRequest(request) {
`Bearer realm="https://${url.hostname}/v2/auth",service="cloudflare-docker-proxy"`
);
}
headers.set("Docker-Distribution-API-Version", "registry/2.0");
return new Response(JSON.stringify({ message: "UNAUTHORIZED" }), {
status: 401,
headers: headers,