githubtraining / release-workflow

Course repo for Learning Lab course "Create a release based workflow".
https://lab.github.com/githubtraining/create-a-release-based-workflow
Creative Commons Attribution 4.0 International
1 stars 6 forks source link

Fix hardcoded steps #108

Closed hectorsector closed 5 years ago

hectorsector commented 5 years ago

This PR reduces the likelihood of user, fixes #102 and addresses feedback from #106:

Step 9: Adding a change log For some reason the Pull Request is closed 🚧 The course seems to be frozen

hectorsector commented 5 years ago

I'll pick this up later but I'm getting this error locally:

ERROR probot: Error in create-a-release-based-workflow:approve-ships-for-an-upcoming-release:respond[2]
  data: {
    "id": "approve-ships-for-an-upcoming-release",
    "error": {},
    "course": "create-a-release-based-workflow",
    "action": {
      "id": 2,
      "type": "respond"
    }
  }

Specific to this response:

    - type: getPullRequest
      pullRequest: Release v1.0
      action_id: releasePr
    - type: respond
      with: 07.2_back-to-release.md
      data:
        url: '%actions.releasePr.data.html_url%'