We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 992790f commit 8d04792Copy full SHA for 8d04792
tasks/backport/backporter.rb
@@ -53,7 +53,7 @@ def collect_backports
53
pages = 5
54
pages.times.each do |page|
55
@logger.debug "Collecting backport information (#{page + 1}/#{pages})"
56
- URI.open("https://api.github.com/repos/fluent/fluentd/pulls?state=closed&per_page=100&page=#{page+1}",
+ URI.open("https://api.github.com/repos/#{@options[:upstream]}/pulls?state=closed&per_page=100&page=#{page+1}",
57
"Accept" => "application/vnd.github+json",
58
"Authorization" => "Bearer #{ENV['GITHUB_TOKEN']}",
59
"X-GitHub-Api-Version" => "2022-11-28") do |request|
0 commit comments