File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ <!--
2+ **********************************************************************
3+ *** DO NOT MODIFY THIS FILE DIRECTLY ***
4+ **********************************************************************
5+ The original copy of this file is in the beeware/.github repository.
6+ It will be automatically copied into other BeeWare repositories when
7+ the original is altered. Any changes should be made to the original.
8+ **********************************************************************
9+ -->
Original file line number Diff line number Diff line change 7979 echo "Replacing Code of Conduct..."
8080 cp ../sourcerepo/CODE_OF_CONDUCT.md .
8181
82+ # Prepend the edit warning to the file
83+ WARNING_TEXT=$(< ../sourcerepo/.github/workflows/coc-edit-warning.txt)
84+ printf '%s\n\n' "$WARNING_TEXT" | sed -i '0r /dev/stdin' CODE_OF_CONDUCT.md
85+
8286 # Commit and push the update
8387 echo "Syncing updates to remote..."
8488 git add CODE_OF_CONDUCT.md
You can’t perform that action at this time.
0 commit comments