Skip to content

Commit

Permalink
Update code of conduct (flyteorg#200)
Browse files Browse the repository at this point in the history
* update code of conduct

Signed-off-by: Samhita Alla <[email protected]>

* boilerplate

Signed-off-by: Samhita Alla <[email protected]>
  • Loading branch information
samhita-alla authored Jul 30, 2021
1 parent 841ae09 commit 02f2066
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/config.yml
Original file line number Diff line number Diff line change
@@ -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! 🛠
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ docs/build/

.vscode/
tmp/
.python-version
5 changes: 2 additions & 3 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 2 additions & 0 deletions boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 2 additions & 0 deletions boilerplate/flyte/code_of_conduct/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CODE OF CONDUCT
~~~~~~~~~~~~~~~
12 changes: 12 additions & 0 deletions boilerplate/flyte/code_of_conduct/update.sh
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions boilerplate/flyte/welcome_bot/Readme.rst
Original file line number Diff line number Diff line change
@@ -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.
15 changes: 15 additions & 0 deletions boilerplate/flyte/welcome_bot/config.yml
Original file line number Diff line number Diff line change
@@ -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! 🛠
15 changes: 15 additions & 0 deletions boilerplate/flyte/welcome_bot/update.sh
Original file line number Diff line number Diff line change
@@ -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

2 changes: 2 additions & 0 deletions boilerplate/update.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
flyte/golang_test_targets
flyte/golang_support_tools
flyte/pull_request_template
flyte/welcome_bot
flyte/code_of_conduct

0 comments on commit 02f2066

Please sign in to comment.