This repository has been archived by the owner on Apr 23, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated with template-control on 2019-02-14T21:49:41.170Z (#97)
/.mergify.yml: wrote /.mergify.yml /.github/settings.yml: wrote /.github/settings.yml
- Loading branch information
1 parent
33be46c
commit 6c27dbe
Showing
2 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
# These settings are synced to GitHub by https://probot.github.io/apps/settings/ | ||
repository: | ||
homepage: "https://developer.lightbend.com/start/?group=play" | ||
topics: playframework, example, example-project, sample, sample-app, jvm, webapp | ||
private: false | ||
has_issues: true | ||
# We don't need projects in sample projects | ||
has_projects: false | ||
# We don't need wiki in sample projects | ||
has_wiki: false | ||
has_downloads: true | ||
default_branch: 2.7.x | ||
allow_squash_merge: true | ||
allow_merge_commit: false | ||
allow_rebase_merge: false | ||
|
||
teams: | ||
- name: core | ||
permission: admin | ||
- name: integrators | ||
permission: write | ||
- name: write-bots | ||
permission: write | ||
|
||
branches: | ||
- name: "[0-9].*.x" | ||
protection: | ||
# We don't require reviews for sample applications because they are mainly | ||
# updated by template-control, which is an automated process | ||
required_pull_request_reviews: null | ||
# Required. Require status checks to pass before merging. Set to null to disable | ||
required_status_checks: | ||
# Required. The list of status checks to require in order to merge into this branch | ||
contexts: ["Travis CI - Pull Request", "typesafe-cla-validator"] | ||
|
||
# Labels: tailored list of labels to be used by sample applications | ||
labels: | ||
- color: f9d0c4 | ||
name: "closed:declined" | ||
- color: f9d0c4 | ||
name: "closed:duplicated" | ||
oldname: duplicate | ||
- color: f9d0c4 | ||
name: "closed:invalid" | ||
oldname: invalid | ||
- color: f9d0c4 | ||
name: "closed:question" | ||
oldname: question | ||
- color: f9d0c4 | ||
name: "closed:wontfix" | ||
oldname: wontfix | ||
- color: 7057ff | ||
name: "good first issue" | ||
- color: 7057ff | ||
name: "Hacktoberfest" | ||
- color: 7057ff | ||
name: "help wanted" | ||
- color: cceecc | ||
name: "status:backlog" | ||
oldname: backlog | ||
- color: b60205 | ||
name: "status:block-merge" | ||
oldname: block-merge | ||
- color: b60205 | ||
name: "status:blocked" | ||
- color: 0e8a16 | ||
name: "status:in-progress" | ||
- color: 0e8a16 | ||
name: "status:merge-when-green" | ||
oldname: merge-when-green | ||
- color: fbca04 | ||
name: "status:needs-backport" | ||
- color: fbca04 | ||
name: "status:needs-forwardport" | ||
- color: fbca04 | ||
name: "status:needs-info" | ||
- color: fbca04 | ||
name: "status:needs-verification" | ||
- color: 0e8a16 | ||
name: "status:ready" | ||
- color: fbca04 | ||
name: "status:to-review" | ||
oldname: review | ||
- color: c5def5 | ||
name: "topic:build/tests" | ||
- color: c5def5 | ||
name: "topic:dev-environment" | ||
- color: c5def5 | ||
name: "topic:documentation" | ||
- color: c5def5 | ||
name: "topic:jdk-next" | ||
- color: b60205 | ||
name: "type:defect" | ||
oldname: bug | ||
- color: 0052cc | ||
name: "type:feature" | ||
- color: 0052cc | ||
name: "type:improvement" | ||
oldname: enhancement | ||
- color: 0052cc | ||
name: "type:updates" | ||
- color: bf0d92 | ||
name: "type:template-control" | ||
oldname: template-control |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
pull_request_rules: | ||
- name: automatic merge on CI success require review | ||
conditions: | ||
- status-success=Travis CI - Pull Request | ||
- "#approved-reviews-by>=1" | ||
- "#changes-requested-reviews-by=0" | ||
- label!=status:block-merge | ||
actions: | ||
merge: | ||
method: squash | ||
strict: smart | ||
|
||
- name: automatic merge on CI success for TemplateControl | ||
conditions: | ||
- status-success=Travis CI - Pull Request | ||
- label=status:merge-when-green | ||
- label!=status:block-merge | ||
actions: | ||
merge: | ||
method: squash | ||
strict: smart | ||
|
||
- name: delete branch after merge | ||
conditions: | ||
- merged | ||
actions: | ||
delete_head_branch: {} |