Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH actions for rendering of README.Rmd (#17)
* Included render-markdown.yaml for GH actions rendering of README.Rmd. Added dummy test in .Rmd * Update render-rmarkdown.yaml Removed use of `renv` through `- uses: r-lib/actions/setup-renv@v2` * Update README.Rmd R chunk renamed * Improved render-rmarkdown.yaml structure Split jobs to increase clarity. Installed R dependencies and `rmarkdown`. * Update render-rmarkdown.yaml Adding `name: render-rmarkdown.yaml` so it includes it in checks * New permissions Adding `read-all` permissions * Removing control flow to trigger GH action * Changing GH action trigger * Yet another GH action trigger update * Adding control flow R dependencies and rendering seem to work. Action failed at Rmarkdown render files job * Update README.Rmd * Adding concurrency grout to render-rmarkdown.yaml * Ensuring render-rmarkdown.yaml doesn't fail even if .Rmd has no changes * Revert testing example Co-authored-by: Jackson Hoffart <[email protected]> * Update .github/workflows/render-rmarkdown.yaml Co-authored-by: Jackson Hoffart <[email protected]> * Checking out PR branch Modified checkout to PR branch in order to render README and commit to PR branch which then gets merged to main. At least that is what should happen. * Adding fetch-dept = 0 Not having this caused `fatal: bad object ...` Check https://stackoverflow.com/questions/71204693/git-diff-not-working-on-github-actions-fatal-bad-object-7100c3bbc34a9667ca9034 * Update README.Rmd Minor change to trigger GH action render of README.md * Adding GH context refs Added step to show GH context refs and understand where this job would be committing changes. * Change to PR branch job Revert to actions/checkout@v4 * PR branch job to github.ref * Targeting github.base.ref * typo fix * Reverting to github.ref * Update README.Rmd * Typo in R chunk README.Rmd * Adding push origin HEAD: to Commit Results job * Update README.Rmd * Setting correct HEAD for commit * Update README.Rmd * Re-build RMarkdown files * Update README.Rmd * Install local package through `local::.` * Update README.Rmd Co-authored-by: Jackson Hoffart <[email protected]> * Re-build RMarkdown files --------- Co-authored-by: Jackson Hoffart <[email protected]> Co-authored-by: jibarozzo <[email protected]>
- Loading branch information