Sha256: 310ded11855f901ed5700ff1c582dc57c9dd6b7ef39a46e8eec216b8a5f4a4f1

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 Bytes

Contents

### auto_label

No more set label to issue or pull request manually.  
Example, you can set labels simply by changing the PR title.

![sample](gif/sample.gif)

### Usage

Very simple usage.  

First, install gem.

```
$ gem install danger-auto_label
```

Set wip label automatically when the PR title contains '[WIP]'.

```sample.rb
  if github.pr_title.include? "[WIP]"
    auto_label.wip=(github.pr_json["number"])
  end
```

#### Methods

`wip=` - Set WIP label to PR.

`set` - Set any labels to PR by this.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-auto_label-1.1.0 README.md