Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-cmd: fix GitHub.workflow_dispatch_event kwarg calls #16153

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/dispatch-build-bottle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
inputs[:upload] = args.upload?

ohai "Dispatching #{tap} bottling request of formula \"#{formula.name}\" for #{runners.join(", ")}"
GitHub.workflow_dispatch_event(user, repo, workflow, ref, inputs)
GitHub.workflow_dispatch_event(user, repo, workflow, ref, **inputs)

Check warning on line 91 in Library/Homebrew/dev-cmd/dispatch-build-bottle.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/dev-cmd/dispatch-build-bottle.rb#L91

Added line #L91 was not covered by tests
end
end
end
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/pr-publish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
end

ohai "Dispatching #{tap} pull request ##{issue}"
GitHub.workflow_dispatch_event(user, repo, workflow, ref, inputs)
GitHub.workflow_dispatch_event(user, repo, workflow, ref, **inputs)

Check warning on line 77 in Library/Homebrew/dev-cmd/pr-publish.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/dev-cmd/pr-publish.rb#L77

Added line #L77 was not covered by tests
end
end
end