Skip to content

Commit

Permalink
Adding a warning message to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Oct 18, 2021
1 parent f367335 commit 8e3b4f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: |
docker run -v$(pwd):/home/report -w/home/report uscbiostats/software-dev:latest \
Rscript -e 'rmarkdown::render("README.Rmd")'
./docker/print_warning.sh
- name: Commit results
run: |
Expand Down
8 changes: 8 additions & 0 deletions docker/print_warning.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
sed -i '1s/^/<!---\
#########################################################################\
#########################################################################\
NOTE: DO NOT EDIT THE README.md BY HAND. ONLY EDIT THE README.Rmd BY HAND\
#########################################################################\
#########################################################################\
--->/' README.md

0 comments on commit 8e3b4f6

Please sign in to comment.