-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: commit all changed files by document workflow #694
fix: commit all changed files by document workflow #694
Conversation
I don't think that there are other files, but for advanced usage we could have an input parameter to add more files. |
Sorry, I don't follow. 😬 Do you have an example of what you mean by that? Given that only a fraction of packages use Rcpp (either because they don't use C++ code or use cpp11), I'd just add DESCRIPTION now and maybe add an instruction to the README like "if your package uses Rcpp, add |
I mean adding an input parameter to the action, so if somebody generates more files with |
I still don't follow 🙁. Both the "Document" as well as the "Commit and push changes" steps are just In other words, how would one add an input parameter to a actions/examples/document.yaml Lines 31 to 42 in 33f03a8
Since I don't seem up to the task, maybe just merge this and add what you have in mind later? 🤷🏻♂️ |
Right, never mind then, people can just add their own |
Codecov Report
@@ Coverage Diff @@
## v2-branch #694 +/- ##
===========================================
Coverage 100.00% 100.00%
===========================================
Files 2 2
Lines 10 10
===========================================
Hits 10 10 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Thanks1 |
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this pull request. |
Similar to #693 there are files missing in the https://github.com/r-lib/actions/blob/v2-branch/examples/document.yaml workflow. I.e. not all files which are affected by
roxygen2::roxygenise()
both as input and output are covered by the workflow.One file that comes to mind is DESCRIPTION (
Collate:
andRoxygenNote:
fields), which this PR adds togit add
.I am not entirely sure which other files are affected, but I suspect @gaborcsardi to know. 😄
I guess at least
src/*.cpp
should be watched for changes andR/RcppExports.R
begit add
ed as well? Anything else?