text: from fastcore.all import *
  from ghapi import *
  
  def reply_thanks():
      api = GhApi(owner='fastai', repo='ghapi-test', token=github_token())
      payload = context_github.event
      if 'workflow' in payload: issue = 1
      else:
          if payload.action != 'opened': return
          issue = payload.number
      api.issues.create_comment(issue_number=issue, body='Thank you for your *valuable* contribution')
  
  reply_thanks()
  