Skip to content

Commit

Permalink
Limit number of buttons, change url
Browse files Browse the repository at this point in the history
  • Loading branch information
roaga committed Oct 9, 2024
1 parent b740494 commit c5a19bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sentry/integrations/github/tasks/pr_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ def github_comment_workflow(pullrequest_id: int, project_id: int):
{
"name": f"Root cause #{i + 1}",
"type": "copilot-chat",
"prompt": f"@sentry root cause issue {str(issue_id)} with PR URL https://github.com/{repo.name}/pull/{str(pullrequest_id)}",
"prompt": f"@sentry root cause issue {str(issue_id)} with PR URL https://github.com/{repo.name}/pull/{str(pr_key)}",
}
for i, issue_id in enumerate(top_24_issues)
for i, issue_id in enumerate(top_24_issues[:3])
]
if enabled_copilot
else None
Expand Down

0 comments on commit c5a19bd

Please sign in to comment.