From d12122c8e3dc040d753a06ee5d60cfbdad065444 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Mon, 5 Feb 2018 15:28:45 +0000 Subject: [PATCH 1/2] docs: Add CoC and contributing doc Add the standard Code of Conduct and contributing docs. Partly fixes #3. Signed-off-by: James O. D. Hunt --- CODE_OF_CONDUCT.md | 3 +++ CONTRIBUTING.md | 1 + 2 files changed, 4 insertions(+) create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 00000000..1d9d931a --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,3 @@ +## Kata Containers CI Code of Conduct + +Kata Containers follows the [OpenStack Foundation Code of Conduct](https://www.openstack.org/legal/community-code-of-conduct/). diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..bdeeb024 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1 @@ +For details on how to contribute to the Kata Containers project, please see the main [contributing document](https://github.com/kata-containers/community/blob/master/CONTRIBUTING.md). From de5a62942e272e70dd3b7b7289c7a1740ee4f66c Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Mon, 5 Feb 2018 15:29:35 +0000 Subject: [PATCH 2/2] CI: Add pullapprove config Add the pullapprove configuration file. Fixes #3. Signed-off-by: James O. D. Hunt --- .pullapprove.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .pullapprove.yml diff --git a/.pullapprove.yml b/.pullapprove.yml new file mode 100644 index 00000000..c0cfa18d --- /dev/null +++ b/.pullapprove.yml @@ -0,0 +1,43 @@ +version: 2 + +requirements: + signed_off_by: + required: true + +# Disallow approval of PRs still under development +always_pending: + title_regex: '(WIP|RFC)' + labels: + - do-not-merge + - wip + - rfc + explanation: 'Work in progress - do not merge' + +group_defaults: + approve_by_comment: + enabled: true + approve_regex: '^(LGTM|lgtm|Approved|\+1|:\+1:)' + reject_regex: '^(Rejected|-1|:-1:)' + reset_on_push: + enabled: false + reset_on_reopened: + enabled: false + author_approval: + ignored: true + +groups: + approvers: + required: 2 + teams: + - packaging + + documentation: + required: 1 + teams: + - documentation + conditions: + files: + include: + - "*.md" + exclude: + - "vendor/*"