profile = "vcs/pull-request@1.1"
provider = "mock"

"""
PullRequest mock map
"""
map PullRequest {
  id = input.identifier
  url = `https://gitlab.com/${input.owner}/${input.repo}/-/merge_requests/${input.identifier}`

  map result {
    title: 'Test',
    id: id,
    url: url,
    sha: Math.random().toString(16),
  }
}