rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
170 stars 74 forks source link

Fix commands in pull request comments #1652

Closed joboet closed 1 year ago

joboet commented 1 year ago

Fixes #1651. Pull request comments are detected by checking the presence of the pull_request field in the issue type. Broke in #1646.

ehuss commented 1 year ago

Sorry about that. I posted an alternate solution at #1653 that just reverts the change. I think the original behavior is fine, and could potentially add fields to the empty struct in the future.