Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 1

How to post non file-specific/commit specific comments to PRs

According to https://developer.github.com/v3/pulls/comments/#create-a-comment all parameters 

  1. commit_id
  2. path
  3. position

are required. But what do I have to pass if I want to add a generic PR comment (not related to a specific commit or path)? Can I just leave those parameters empty?

It would be nice if the documentation could be clarified in this regard.

 

Thanks,

Konrad