RMI-PACTA / actions

Actions for GitHub workflows
4 stars 0 forks source link

Feat/35 check docs up to date #68

Closed AlexAxthelm closed 7 months ago

AlexAxthelm commented 7 months ago

Adds action to detect if rendered documentation is out of date

The most finicky part that I haven't sorted on this is if local roxygen2 version is out of date, then DESCRIPTION will keep showing up as a changed file when roxygenize runs and updates its version in that file. One option would be to not check for changes in DESCRIPTION, or have that as a sign that it's time to update. ¯_(ツ)_/¯

Failing Example: https://github.com/RMI-PACTA/pacta.workflow.utils/actions/runs/8253785326/job/22576447661#step:6:29 Passing Example: https://github.com/RMI-PACTA/pacta.workflow.utils/actions/runs/8253848573/job/22576646518#step:6:25