Simple example posting a comment to a github issue:
#+name: fend-comment
#+begin_example markdown
# hello world
this is a github comment, you can enter any markdown
#+end_example
#+begin_src sh :dir ~/repos/nixpkgs :results output :var body=fend-comment
gh pr comment -R nixos/nixpkgs 124876 -b "$body"