From d5c8822850eab1f359fc023cbb67cac99eb1b1ef Mon Sep 17 00:00:00 2001 From: Samhita Alla Date: Thu, 29 Jul 2021 09:46:21 +0530 Subject: [PATCH] Update code of conduct (#175) Signed-off-by: Samhita Alla --- CODE_OF_CONDUCT.md | 5 ++--- .../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 ++++++++++++ .../pull_request_template/pull_request_template.md | 13 ++++++++----- boilerplate/flyte/welcome_bot/update.sh | 1 + boilerplate/update.cfg | 1 + boilerplate/update.sh | 2 +- pull_request_template.md | 13 ++++++++----- 9 files changed, 37 insertions(+), 14 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/flyte/pull_request_template/pull_request_template.md b/boilerplate/flyte/pull_request_template/pull_request_template.md index d7699558b..9cdab99b4 100644 --- a/boilerplate/flyte/pull_request_template/pull_request_template.md +++ b/boilerplate/flyte/pull_request_template/pull_request_template.md @@ -1,8 +1,9 @@ -## Read then delete +## _Read then delete this section_ -- Make sure to use a concise title for the pull-request. -- Use #patch, #minor or #major in the pull-request title to bump the corresponding version. Otherwise, the patch version -will be bumped. [More details](https://github.com/marketplace/actions/github-tag-bump) +_- Make sure to use a concise title for the pull-request._ + +_- Use #patch, #minor or #major in the pull-request title to bump the corresponding version. Otherwise, the patch version +will be bumped. [More details](https://github.com/marketplace/actions/github-tag-bump)_ # TL;DR _Please replace this text with a description of what this PR accomplishes._ @@ -24,7 +25,9 @@ _Please replace this text with a description of what this PR accomplishes._ _How did you fix the bug, make the feature etc. Link to any design docs etc_ ## Tracking Issue -https://github.com/flyteorg/flyte/issues/ +_Remove the '*fixes*' keyword if there will be multiple PRs to fix the linked issue_ + +fixes https://github.com/flyteorg/flyte/issues/ ## Follow-up issue _NA_ diff --git a/boilerplate/flyte/welcome_bot/update.sh b/boilerplate/flyte/welcome_bot/update.sh index 120dbd365..2db64ac3f 100755 --- a/boilerplate/flyte/welcome_bot/update.sh +++ b/boilerplate/flyte/welcome_bot/update.sh @@ -12,3 +12,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" # Clone the config.yml file echo " - copying ${DIR}/config.yml to the root directory." cp "${DIR}"/config.yml "${DIR}"/../../../.github/config.yml + diff --git a/boilerplate/update.cfg b/boilerplate/update.cfg index 07a65c51f..6ed62933a 100644 --- a/boilerplate/update.cfg +++ b/boilerplate/update.cfg @@ -1,3 +1,4 @@ flyte/docker_build flyte/pull_request_template flyte/welcome_bot +flyte/code_of_conduct diff --git a/boilerplate/update.sh b/boilerplate/update.sh index 9173b662d..73de4dc91 100755 --- a/boilerplate/update.sh +++ b/boilerplate/update.sh @@ -70,4 +70,4 @@ while read -r directory junk; do fi echo "***********************************************************************************" echo "" -done < "$CONFIG_FILE" \ No newline at end of file +done < "$CONFIG_FILE" diff --git a/pull_request_template.md b/pull_request_template.md index d7699558b..9cdab99b4 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -1,8 +1,9 @@ -## Read then delete +## _Read then delete this section_ -- Make sure to use a concise title for the pull-request. -- Use #patch, #minor or #major in the pull-request title to bump the corresponding version. Otherwise, the patch version -will be bumped. [More details](https://github.com/marketplace/actions/github-tag-bump) +_- Make sure to use a concise title for the pull-request._ + +_- Use #patch, #minor or #major in the pull-request title to bump the corresponding version. Otherwise, the patch version +will be bumped. [More details](https://github.com/marketplace/actions/github-tag-bump)_ # TL;DR _Please replace this text with a description of what this PR accomplishes._ @@ -24,7 +25,9 @@ _Please replace this text with a description of what this PR accomplishes._ _How did you fix the bug, make the feature etc. Link to any design docs etc_ ## Tracking Issue -https://github.com/flyteorg/flyte/issues/ +_Remove the '*fixes*' keyword if there will be multiple PRs to fix the linked issue_ + +fixes https://github.com/flyteorg/flyte/issues/ ## Follow-up issue _NA_