Sha256: b766ff1d2783fe5059a4e24053aa470fd993acae9af861842bdcc81cf10d8aa1

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents


### github_ext

This is Danger Plugin for GitHub extension.
When installing this plugin, you can additional methods on github instance

<blockquote>Determine if pull request is mergeable and mergeable status is clean
  <pre>
github.mergeable?</pre>
</blockquote>

<blockquote>List labels for the pull request
  <pre>
github.labels</pre>
</blockquote>

<blockquote>Add labels to the pull request
  <pre>
github.add_labels 'build ok'</pre>
</blockquote>

<blockquote>Remove labels from the pull request
  <pre>
github.remove_labels 'build failed'</pre>
</blockquote>

<blockquote>List current statuses for the head commit
  <pre>
github.statuses</pre>
</blockquote>

<blockquote>Update the title of the pull request
  <pre>
github.update_pr_tile 'Updated title'</pre>
</blockquote>

<blockquote>Update the body of the pull request
  <pre>
github.update_pr_body 'Updated body'</pre>
</blockquote>

<blockquote>Close the pull request
  <pre>
github.close</pre>
</blockquote>

<blockquote>Open the pull request
  <pre>
github.open</pre>
</blockquote>





#### Methods

`mergeable?` - Determine if pull request is mergeable and mergeable status is clean

`labels` - List labels for the pull request

`add_labels` - Add labels to the pull request

`add_label` - Add label with color to the pull request

`remove_labels` - Remove labels from the pull request

`statuses` - List current statuses for the head commit

`update_pr_title` - Update the title of the pull request

`update_pr_body` - Update the body of pull request

`close` - Close the pull request

`open` - Open the pull request




Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-github_ext-0.0.4 README.md