Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit cb9a381

Browse files
committed
add instructions for config PR
1 parent c1cc5de commit cb9a381

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,12 @@ steps:
204204
owner: '%payload.repository.owner.login%'
205205
repo: '%payload.repository.name%'
206206
ref: heads/green-colors
207-
# TODO: change these instructions to indicate the need for a new PR with release drafter config
208207
- type: respond
209208
with: 08.2_github-app.md
210209
issue: 6
210+
data:
211+
prUrl: '%payload.repository.html_url%/compare/release-v1.0...config-release-drafter?expand=1'
212+
211213
- type: respond
212214
with: 08.1_back-to-release.md
213215
data:

responses/08.2_github-app.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,16 @@ First, let's make sure that we're set up to document the version changes for the
88

99
We'll be using the Release Drafter GitHub app to draft our release notes as pull requests are merged.
1010

11-
The Release Drafter updates releases, so it requires write access to this repository. When you install the app, **don't add it to your entire GitHub account. Only install it on this repository.** [Release Drafter](https://github.com/apps/release-drafter) doesn't work just out of the box. If you use this in the future, you'll need to add `.github/release-drafter.yml` to your repository. (This is already done in this repository.)
11+
The Release Drafter updates releases, so it requires write access to this repository. When you install the app, you **don't need to add it to your entire GitHub account. Only install it on this repository.** [Release Drafter](https://github.com/apps/release-drafter) doesn't work just out of the box. If you use this in the future, you'll need to add `.github/release-drafter.yml` to your repository. We'll take care of adding this in a separate PR.
1212

1313
### :keyboard: Activity: Install the Release Drafter GitHub app
1414

1515
1. Install the <a href="https://probot.github.io/apps/release-drafter/" target="_blank">Release Drafter GitHub app</a> to this repository **only**.
16-
1. Create a new file in the `.github` folder named `release-drafter.yml` on this branch.
17-
1. Add the following code to your new file:
18-
19-
```
20-
template: |
21-
## What's Changed
22-
23-
$CHANGES
24-
```
16+
1. Open a [new pull request]({{ prUrl }}) with `base: release-v1.0` and `compare: config-release-drafter`. This will add the configuration file for Release Drafter to this repository.
2517

2618
Note: For privacy reasons, we can't see what other apps have access to this repository, so we'll take your word for it.
2719

2820
<hr>
29-
<h3 align="center">After installing the app, assign yourself to this issue and look for my response below</h3>
21+
<h3 align="center">I'll respond in your new pull request.</h3>
3022

3123
> _Sometimes I respond too fast for the page to update! If you don't see a response from me, wait a few seconds and refresh the page for your next steps._

0 commit comments

Comments
 (0)