Building: Step links

Step links are used to direct users to a specific issue or pull request to find the bot instructions for the next activity.

Usage example

The following example shows how you would create an issue in the before step and then use that url in the step link. Note the store: property added to the before block and how we call it in the link: property of the first step:

before:
  - type: createIssue
    title: Getting Started with GitHub
    body: introduction.md
    store:
      first_issue_url: '{{ result.data.html_url }}'

steps:
- title: Turn on GitHub Pages
  description: Turn on GitHub Pages in the settings page of the repository.
  event: page_build
  link: '{{ store.first_issue_url }}'
  actions:
  - type: respond
    issue: Getting Started with GitHub
    with: close-issue.md