From aae017573e5b5a5bdb96e3f18978a4108b891a1b Mon Sep 17 00:00:00 2001 From: Dimitrios Giakatos <36899728+dpgiakatos@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:51:40 +0900 Subject: [PATCH] Update validate.yml --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 885e9e82..e68e3691 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -55,7 +55,7 @@ jobs: local data=$3 local url="https://api.github.com/orgs/${org_full_name}/${endpoint}" - response=$(curl -s -X ${method} -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github.v3+json" ${data:+-d "$data"} "$url") + response=$(curl -s -X ${method} -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github+json" ${data:+-d "$data"} "$url") echo "API call to ${endpoint}: $response" >&2 echo "$response" }