Skip to content

Commit

Permalink
Fix validate-github-release step (metabase#31379) (metabase#31386)
Browse files Browse the repository at this point in the history
Co-authored-by: Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
  • Loading branch information
2 people authored and Maiquu committed Jun 14, 2023
1 parent 357a9d2 commit 2d4fa74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build/src/release/common/github.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

(defn github-api-request-headers []
{"Content-Type" "application/json"
"Authorization" (format "token %s" (u/env-or-throw :github-token))})
"Authorization" (format "Bearer %s" (u/env-or-throw :github-token))})

(defn- GET [endpoint]
(-> (http/get (str (github-api-base) endpoint) {:headers (github-api-request-headers)})
Expand Down

0 comments on commit 2d4fa74

Please sign in to comment.