diff --git a/flytestdlib/CODE_OF_CONDUCT.md b/flytestdlib/CODE_OF_CONDUCT.md index 4c3a38cc48..e12139d691 100644 --- a/flytestdlib/CODE_OF_CONDUCT.md +++ b/flytestdlib/CODE_OF_CONDUCT.md @@ -1,2 +1,2 @@ -This project is governed by [Lyft's code of conduct](https://github.com/lyft/code-of-conduct). +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/flytestdlib/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md b/flytestdlib/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..e12139d691 --- /dev/null +++ b/flytestdlib/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/flytestdlib/boilerplate/flyte/code_of_conduct/README.rst b/flytestdlib/boilerplate/flyte/code_of_conduct/README.rst new file mode 100644 index 0000000000..0c9f2f1ec5 --- /dev/null +++ b/flytestdlib/boilerplate/flyte/code_of_conduct/README.rst @@ -0,0 +1,2 @@ +CODE OF CONDUCT +~~~~~~~~~~~~~~~ diff --git a/flytestdlib/boilerplate/flyte/code_of_conduct/update.sh b/flytestdlib/boilerplate/flyte/code_of_conduct/update.sh new file mode 100755 index 0000000000..42f6158460 --- /dev/null +++ b/flytestdlib/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/flytestdlib/boilerplate/flyte/welcome_bot/Readme.rst b/flytestdlib/boilerplate/flyte/welcome_bot/Readme.rst new file mode 100644 index 0000000000..ea18781185 --- /dev/null +++ b/flytestdlib/boilerplate/flyte/welcome_bot/Readme.rst @@ -0,0 +1,8 @@ +Config File -- Welcome Bot +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Provides a ``config.yml`` file. + +**To Enable:** + +Add ``flyte/config.yml`` to your ``boilerplate/update.cfg`` file. \ No newline at end of file diff --git a/flytestdlib/boilerplate/flyte/welcome_bot/config.yml b/flytestdlib/boilerplate/flyte/welcome_bot/config.yml new file mode 100644 index 0000000000..f99bcd78f1 --- /dev/null +++ b/flytestdlib/boilerplate/flyte/welcome_bot/config.yml @@ -0,0 +1,15 @@ +# Comment to be posted on PRs from first-time contributors in your repository +newPRWelcomeComment: > + Thank you for opening this pull request! 🙌 + + These tips will help get your PR across the finish line: + - Most of the repos have a PR template; if not, fill it out to the best of your knowledge. + - Sign off your commits (Reference: [DCO Guide](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md)). + +# Comment to be posted to on pull requests merged by a first time user +firstPRMergeComment: > + Congrats on merging your first pull request! 🎉 + +# Comment to be posted on first-time issues +newIssueWelcomeComment: > + Thank you for opening your first issue here! 🛠 diff --git a/flytestdlib/boilerplate/flyte/welcome_bot/update.sh b/flytestdlib/boilerplate/flyte/welcome_bot/update.sh new file mode 100755 index 0000000000..2db64ac3f1 --- /dev/null +++ b/flytestdlib/boilerplate/flyte/welcome_bot/update.sh @@ -0,0 +1,15 @@ +#!/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 )" + +# 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/flytestdlib/boilerplate/update.cfg b/flytestdlib/boilerplate/update.cfg index 45331b566c..caa58e0db1 100644 --- a/flytestdlib/boilerplate/update.cfg +++ b/flytestdlib/boilerplate/update.cfg @@ -1,3 +1,5 @@ flyte/golang_test_targets flyte/golang_support_tools flyte/pull_request_template +flyte/welcome_bot +flyte/code_of_conduct