From 4949747a8b351fa1587cedc0fbc22719a66b2271 Mon Sep 17 00:00:00 2001 From: Raymond Huang <1694040+rymndhng@users.noreply.github.com> Date: Fri, 17 Sep 2021 10:37:00 -0700 Subject: [PATCH] Fix format of releases API using GITHUB_API_URL (#60) --- src/release_on_push_action/github.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/release_on_push_action/github.clj b/src/release_on_push_action/github.clj index e6f4910..35ac172 100644 --- a/src/release_on_push_action/github.clj +++ b/src/release_on_push_action/github.clj @@ -57,7 +57,7 @@ (try (parse-response (curl/get - (format "%s/%s/releases/latest" (:github/api-url context) (:repo context)) + (format "%s/repos/%s/releases/latest" (:github/api-url context) (:repo context)) {:headers {"Authorization" (str "token " (:token context))}})) (catch clojure.lang.ExceptionInfo ex (cond