Skip to content
Snippets Groups Projects
Unverified Commit fddeceda authored by Dawid Dziurla's avatar Dawid Dziurla Committed by GitHub
Browse files

Merge pull request #8110 from dawidd6/with-label

pr-automerge: fix variable name
parents 5bfd604b 367de352
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ module Homebrew
query = "is:pr is:open repo:#{tap.full_name}"
query += Homebrew.args.ignore_failures? ? " -status:pending" : " status:success"
query += " review:approved" unless Homebrew.args.without_approval?
query += " label:\"#{with_label}\"" if Homebrew.args.with_label
query += " label:\"#{args.with_label}\"" if Homebrew.args.with_label
without_labels&.each { |label| query += " -label:\"#{label}\"" }
odebug "Searching: #{query}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment