Skip to content

Commit

Permalink
Fix format of releases API using GITHUB_API_URL (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
rymndhng authored Sep 17, 2021
1 parent 2d0b456 commit 4949747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/release_on_push_action/github.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4949747

Please sign in to comment.