Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 6342381

Browse files
committed
Try moving the integrations paragraph to the end
1 parent aa7aaa5 commit 6342381

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

content/changes/2015-09-03-ensure-your-app-is-ready-for-protected-branches.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ fail unless the that commit (or another commit with the same [Git tree][tree])
1414
has a [Status][statuses] in the `success` state for each required status
1515
check.
1616

17-
Required status checks can be used for more than just ensuring your branch
18-
passes Continuous Integration tests before merging. For example, you could
19-
write a Status integration that only posts a `success` Status when the pull
20-
request’s author has signed your project’s Contributor License Agreement. Or
21-
you could write one that only posts a `success` Status when three or more
22-
members of your `@initech/senior-engineers` team have left a comment saying
23-
they’ve reviewed the changes. Combined with required status checks,
24-
integrations like these can help contributors to follow your project’s
25-
conventions. See our [Status API guide][guide] to learn how to create
26-
integrations like these.
27-
2817
These restrictions apply to branch manipulations performed via the GitHub API
2918
as well. So when you protect a branch, you will no longer be able to [delete
3019
the branch][delete] via the API or perform [update it][update] to point at a
@@ -46,6 +35,17 @@ HTTP/1.1 422 Unprocessable Entity
4635
}
4736
</pre>
4837

38+
Protected branches and required status checks are a great way to ensure your
39+
project’s conventions are followed. For example, you could write a Status
40+
integration that only posts a `success` Status when the pull request’s author
41+
has signed your project’s Contributor License Agreement. Or you could write one
42+
that only posts a `success` Status when three or more members of your
43+
`@initech/senior-engineers` team have left a comment saying they’ve reviewed
44+
the changes. If you configure these integrations as required status checks, you
45+
can be sure that these conditions have been satisfied before a pull request is
46+
merged. See our [Status API guide][guide] to learn how to create integrations
47+
like these.
48+
4949
If you have any questions, please [let us know][contact].
5050

5151
[blog]: https://github.com/blog/2051-protected-branches-and-required-status-checks

0 commit comments

Comments
 (0)