From dc5b43545da3e50afed1fad47a3a1256b03f256e Mon Sep 17 00:00:00 2001 From: Samhita Alla Date: Wed, 21 Jul 2021 02:37:45 +0530 Subject: [PATCH] Update code of conduct (#296) * Update code of conduct Signed-off-by: Samhita Alla * boilerplate Signed-off-by: Samhita Alla --- CODE_OF_CONDUCT.md | 5 ++--- boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md | 2 ++ boilerplate/flyte/code_of_conduct/README.rst | 2 ++ boilerplate/flyte/code_of_conduct/update.sh | 12 ++++++++++++ boilerplate/update.cfg | 2 ++ 5 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md create mode 100644 boilerplate/flyte/code_of_conduct/README.rst create mode 100755 boilerplate/flyte/code_of_conduct/update.sh diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 803d8a77f..e12139d69 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,2 @@ -This project is governed by [Lyft's code of -conduct](https://github.com/lyft/code-of-conduct). All contributors -and participants agree to abide by its terms. +This project is governed by LF AI Foundation's [code of conduct](https://lfprojects.org/policies/code-of-conduct/). +All contributors and participants agree to abide by its terms. diff --git a/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md b/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md new file mode 100644 index 000000000..e12139d69 --- /dev/null +++ b/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md @@ -0,0 +1,2 @@ +This project is governed by LF AI Foundation's [code of conduct](https://lfprojects.org/policies/code-of-conduct/). +All contributors and participants agree to abide by its terms. diff --git a/boilerplate/flyte/code_of_conduct/README.rst b/boilerplate/flyte/code_of_conduct/README.rst new file mode 100644 index 000000000..0c9f2f1ec --- /dev/null +++ b/boilerplate/flyte/code_of_conduct/README.rst @@ -0,0 +1,2 @@ +CODE OF CONDUCT +~~~~~~~~~~~~~~~ diff --git a/boilerplate/flyte/code_of_conduct/update.sh b/boilerplate/flyte/code_of_conduct/update.sh new file mode 100755 index 000000000..42f615846 --- /dev/null +++ b/boilerplate/flyte/code_of_conduct/update.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" + +cp ${DIR}/CODE_OF_CONDUCT.md ${DIR}/../../../CODE_OF_CONDUCT.md diff --git a/boilerplate/update.cfg b/boilerplate/update.cfg index 0b3c2d868..a037d5703 100644 --- a/boilerplate/update.cfg +++ b/boilerplate/update.cfg @@ -5,3 +5,5 @@ flyte/end2end flyte/golang_support_tools flyte/pull_request_template flyte/welcome_bot +flyte/code_of_conduct +