Conversation
This reverts commit 32b4420.
|
It looks like this is not quite working as expected. For the pull request, it seems not be getting the branch info, so it is not pushing changes back to the branch. On checkout, we get: Then on commit, we get the following: |
I saw this, I'm trying to use the |
I was just going to point to that... seems to have worked! |
|
I think this is ready for review, but I don't know what the status of the docker-build stuff is, @jashapiro ? Do we still want the changes to docker-build.yml you had originally said and that we made here? |
|
You'll notice there's a lot of styled files here, they are mainly files that haven't been updated yet because the styler action runs on all Rmds. Or there we a couple stylings I introduced as a test (which turned out we didn't need tests because of the old files). |
jashapiro
left a comment
There was a problem hiding this comment.
This looks good to me! And it seems to do what we want, so let's add it in!
Purpose:
Closes #231
This PR adds a step to the GHA workflow that styles all the Rmd files upon a PR or merge with master.
It also includes a slight modification to
docker-build.ymlso that builds only happen when changes to the Dockerfile occur.styler.ymldefined GHAs pull the rocker/tidyverse image and runs it on there sincestylerneedsknitrfor styling Rmds and we also needgitfor the committing step. The commit that saysStyle Rmdsis where that occurred.It is likely that this
styler.ymlfile will later be modified so it handles spell checking as well, but that will be in a future PR.