Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Boilerplate
Browse files Browse the repository at this point in the history
Signed-off-by: Flyte-Bot <admin@flyte.org>
flyte-bot committed Nov 2, 2021
1 parent 751425d commit f42028f
Showing 5 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Comment to be posted on PRs from first-time contributors in your repository
newPRWelcomeComment: >
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)).
2 changes: 1 addition & 1 deletion boilerplate/flyte/welcome_bot/Readme.rst
Original file line number Diff line number Diff line change
@@ -5,4 +5,4 @@ Provides a ``config.yml`` file.

**To Enable:**

Add ``flyte/config.yml`` to your ``boilerplate/update.cfg`` file.
Add ``flyte/config.yml`` to your ``boilerplate/update.cfg`` file.
4 changes: 2 additions & 2 deletions boilerplate/flyte/welcome_bot/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Comment to be posted on PRs from first-time contributors in your repository
newPRWelcomeComment: >
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)).
3 changes: 2 additions & 1 deletion boilerplate/flyte/welcome_bot/update.sh
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

# 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
@@ -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

6 changes: 3 additions & 3 deletions boilerplate/update.sh
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

# 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
@@ -12,7 +12,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
OUT="$(mktemp -d)"
trap 'rm -fr $OUT' EXIT

git clone https://github.com/flyteorg/boilerplate.git "${OUT}"
git clone https://github.com/flyteorg/boilerplate.git "${OUT}"

echo "Updating the update.sh script."
cp "${OUT}/boilerplate/update.sh" "${DIR}/update.sh"
@@ -22,7 +22,7 @@ README="https://github.com/flyteorg/boilerplate/blob/master/Readme.rst"

if [ ! -f "$CONFIG_FILE" ]; then
echo "$CONFIG_FILE not found."
echo "This file is required in order to select which features to include."
echo "This file is required in order to select which features to include."
echo "See $README for more details."
exit 1
fi

0 comments on commit f42028f

Please sign in to comment.