add explicit version for GitHub API

This commit is contained in:
Dustin Rodrigues 2022-12-19 12:00:12 -05:00
parent 7d04dd9d68
commit 5e9223d059
No known key found for this signature in database
GPG Key ID: 140DABE812A1491D

View File

@ -192,6 +192,7 @@ module GitHub
token = credentials
args += ["--header", "Authorization: token #{token}"] unless credentials_type == :none
args += ["--header", "X-GitHub-Api-Version:2022-11-28"]
data_tmpfile = nil
if data