import json


def get_pr_ref(event_path):
  """Returns the PR ref from |event_path|."""
  with open(event_path, encoding='utf-8') as file_handle:
    event = json.load(file_handle)
    return 'refs/pull/{0}/merge'.format(event['pull_request']['number'])