Merge pull request #14266 from dtrodrigues/github-api-version
add explicit version for GitHub API
This commit is contained in:
commit
760ab63978
@ -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