Add docs for load

This commit is contained in:
Brandon Keepers 2016-12-04 16:20:52 -06:00
parent a20c245a8f
commit fe698f09f8
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6
1 changed files with 15 additions and 0 deletions

View File

@ -145,6 +145,21 @@ Add labels
.unassign('defunkt');
```
## load
Loads a configuration from another file.
```js
load('.github/bot/issues.js');
load('.github/bot/releases.js');
```
You can also load configuration from another repository.
```js
load('user/repo:path.js#branch');
```
---
See [examples](examples.md) for ideas of behaviors you can implement by combining these configuration options.