Skip to content

Commit 8d04792

Browse files
kenhysWatson1978
andcommitted
Update tasks/backport/backporter.rb
Co-authored-by: Shizuo Fujita <[email protected]> Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent 992790f commit 8d04792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/backport/backporter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def collect_backports
5353
pages = 5
5454
pages.times.each do |page|
5555
@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}",
56+
URI.open("https://api.github.com/repos/#{@options[:upstream]}/pulls?state=closed&per_page=100&page=#{page+1}",
5757
"Accept" => "application/vnd.github+json",
5858
"Authorization" => "Bearer #{ENV['GITHUB_TOKEN']}",
5959
"X-GitHub-Api-Version" => "2022-11-28") do |request|

0 commit comments

Comments
 (0)