mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-06-19 18:14:07 +08:00
several small updates
This commit is contained in:
@@ -43,4 +43,4 @@ Git even has a `-s` command line option to append this automatically to your com
|
||||
$ git commit -s -m 'This is my commit message'
|
||||
```
|
||||
|
||||
Once installed, this integration will set the [status](https://developer.github.com/v3/repos/statuses/) to `failed` if commits in a Pull Request do not contain a valid `Signed-off-by` line.
|
||||
Once installed, this app will set the [status](https://developer.github.com/v3/repos/statuses/) to `failed` if commits in a Pull Request do not contain a valid `Signed-off-by` line.
|
||||
|
||||
@@ -5,7 +5,7 @@ slug: request-info
|
||||
screenshots:
|
||||
- https://user-images.githubusercontent.com/13410355/28132821-d37bf2a8-66f2-11e7-9e7b-5930ba65d67a.png
|
||||
stars: 47
|
||||
installs: 13
|
||||
installations: 13
|
||||
author: hiimbex
|
||||
repository: behaviorbot/request-info
|
||||
topics:
|
||||
|
||||
@@ -7,15 +7,15 @@ topics:
|
||||
stars: 123
|
||||
installations: 38
|
||||
author: bkeepers
|
||||
repository: probot/configurer
|
||||
repository: probot/settings
|
||||
---
|
||||
|
||||
This GitHub Integration syncs repository settings defined in `.github/config.yml` to GitHub, enabling Pull Requests for repository settings.
|
||||
This GitHub App syncs repository settings defined in `.github/settings.yml` to GitHub, enabling Pull Requests for repository settings.
|
||||
|
||||
## Usage
|
||||
|
||||
1. **[Install the integration](https://github.com/integrations/configurer/installations/new)**.
|
||||
2. Create a `.github/config.yml` file in your repository. Changes to this file on the default branch will be synced to GitHub.
|
||||
1. **[Install the app](https://github.com/integrations/configurer/installations/new)**.
|
||||
2. Create a `.github/settings.yml` file in your repository. Changes to this file on the default branch will be synced to GitHub.
|
||||
|
||||
All settings are optional.
|
||||
|
||||
@@ -87,6 +87,6 @@ collaborators:
|
||||
|
||||
```
|
||||
|
||||
**WARNING:** Note that this integration inherently _escalates anyone with `push` permissions to the **admin** role_, since they can push config settings to the `master` branch, which will be synced. In the future, we may add restrictions to allow changes to the config file to be merged only by specific people/teams, or those with **admin** access _(via a combination of protected branches, required statuses, and branch restrictions)_. Until then, use caution when merging PRs and adding collaborators.
|
||||
**WARNING:** Note that this app inherently _escalates anyone with `push` permissions to the **admin** role_, since they can push config settings to the `master` branch, which will be synced. In the future, we may add restrictions to allow changes to the config file to be merged only by specific people/teams, or those with **admin** access _(via a combination of protected branches, required statuses, and branch restrictions)_. Until then, use caution when merging PRs and adding collaborators.
|
||||
|
||||
This integration is open source. Check out [probot/configurer](https://github.com/probot/configurer) to suggest improvements or run your own instance.
|
||||
This app is open source. Check out [probot/settings](https://github.com/probot/settings) to suggest improvements or run your own instance.
|
||||
|
||||
@@ -37,7 +37,7 @@ Automatically close stale Issues and Pull Requests that tend to accumulate durin
|
||||
|
||||
## Installation
|
||||
|
||||
After installing the integration, create `.github/stale.yml` in the default branch to enable it:
|
||||
After installing the app, create `.github/stale.yml` in the default branch to enable it:
|
||||
|
||||
```yml
|
||||
# Number of days of inactivity before an issue becomes stale
|
||||
|
||||
@@ -7,7 +7,7 @@ screenshots:
|
||||
organizations:
|
||||
- probot
|
||||
stars: 47
|
||||
installs: 94
|
||||
installations: 94
|
||||
author: hiimbex
|
||||
repository: behaviorbot/update-docs
|
||||
topics:
|
||||
|
||||
@@ -9,7 +9,7 @@ screenshots:
|
||||
organizations:
|
||||
- probot
|
||||
stars: 99
|
||||
installs: 123
|
||||
installations: 123
|
||||
author: hiimbex
|
||||
repository: behaviorbot/welcome
|
||||
topics:
|
||||
|
||||
@@ -65,7 +65,7 @@ layout: default
|
||||
<p class="lead mx-auto col-md-8">
|
||||
Discover dozens of apps that extend GitHub and improve your workflow.
|
||||
</p>
|
||||
<a class="btn btn-outline btn-large">
|
||||
<a class="btn btn-outline btn-large" href="https://github.com/search?q=topic%3Aprobot-plugin&type=Repositories">
|
||||
{% octicon telescope class:"mr-2" %}
|
||||
Explore more apps
|
||||
</a>
|
||||
@@ -91,7 +91,7 @@ layout: default
|
||||
<div class="col-6">
|
||||
<h3 class="alt-h3 mb-2">Optimized for GitHub</h3>
|
||||
<p class="">
|
||||
Receive webhooks and use the authenticated client to access the GitHub API. Granular permissions give each app access to the data it needs and nothing more.
|
||||
Receive webhooks and use the authenticated client to access the GitHub API. Granular permissions give each app access only to the data it needs and nothing more.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -106,7 +106,7 @@ layout: default
|
||||
<div class="rounded-2 overflow-hidden border" style="margin-left: 60px;">
|
||||
{% highlight javascript %}
|
||||
module.exports = robot => {
|
||||
robot.on('issues.opened', context => {
|
||||
robot.on('issues.opened', async context => {
|
||||
const params = context.issue({
|
||||
body: 'Hello World!'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user