Skip to content

Commit

Permalink
Update Boilerplate
Browse files Browse the repository at this point in the history
Signed-off-by: Flyte-Bot <[email protected]>
  • Loading branch information
flyte-bot committed Nov 2, 2021
1 parent 751425d commit f42028f
Show file tree
Hide file tree
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)).
Expand Down
2 changes: 1 addition & 1 deletion boilerplate/flyte/welcome_bot/Readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
Expand Down
3 changes: 2 additions & 1 deletion boilerplate/flyte/welcome_bot/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit f42028f

Please sign in to comment.