add explicit version for GitHub API
This commit is contained in:
parent
7d04dd9d68
commit
5e9223d059
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user