README.md in danger-auto_label-1.2.0 vs README.md in danger-auto_label-1.3.0
- old
+ new
@@ -21,16 +21,20 @@
```sample.rb
if github.pr_title.include? "[WIP]"
auto_label.wip=(github.pr_json["number"])
else
- auto_label.delete("WIP")
+ auto_label.remove("WIP")
+ # If you want to delete label
+ # auto_label.delete("WIP")
end
```
#### Methods
`wip=` - Set WIP label to PR.
`set` - Set any labels to PR by this.
-`delete` - Delete any labels from PR.
+`delete` - Delete any labels from repository.
+
+`remove` - Remove any labels from PR.