fix comment_on_summary for non-issue triage policies
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
"Summaries" are, in fact, issues, even for non-issue triage policies.
Despite that, the current implementation of the comment_on_summary
action mistakenly uses the type of the policy as the resource type to
create the comment on.
This commit fixes that by setting a fixed resource_type of "issues"
for comment_on_summary API calls.
fixes #371 (closed)
Edited by Zen Fu