1 | # @artsy/renovate-config
|
2 |
|
3 | This repo contains the shared configuration for Artsy's [renovate](https://renovatebot.com) setup.
|
4 |
|
5 | ## Usage
|
6 |
|
7 | ### Configuration
|
8 |
|
9 | Add a `renovate.json` file to the root of your project. Use the `extends` key to use Artsy's presets.
|
10 |
|
11 | Recommended configuration for Artsy apps in `renovate.json` file looks like this:
|
12 |
|
13 | ```json
|
14 | {
|
15 | "extends": [
|
16 | "@artsy:app"
|
17 | ],
|
18 | "reviewers": [
|
19 | "githubUser"
|
20 | ],
|
21 | "assignees": [
|
22 | "githubUser"
|
23 | ]
|
24 | }
|
25 | ```
|
26 |
|
27 | The renovate config presets are stored in this project's package.json.
|
28 |
|
29 | ### Integration
|
30 |
|
31 | To add Renovate integration to a project:
|
32 |
|
33 | > Using personal or administrtive github account:
|
34 |
|
35 | 1. Navigate to: https://github.com/settings/organizations
|
36 | > Using personal github account
|
37 | 2. Click "Switch to another account" (at the top of the page)
|
38 | 1. Select "artsy"
|
39 | 3. Click "Installed GitHub Apps" (left menu panel)
|
40 | 4. Find Renovate and click "Configure"
|
41 | 5. Scroll down to "Repository access"
|
42 | 6. Click "Select Repositories"
|
43 | 1. Type a repository name
|
44 | 2. Click to add the repository
|
45 | 7. Click Save
|
46 | 8. Confirm that Renovate integration was added in (selected) respository
|
47 | 1. Navigate to repository
|
48 | 2. Click on Settings > Integrations
|
49 | 3. Confirm that Renovate is on the list
|