Skip to content

Commit

Permalink
Update to reflect that the "pak" workflows are the main ones now
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Aug 26, 2021
1 parent c5f04ff commit cd8d146
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# usethis (development version)

* `use_github_action_*()` functions have been updated in response to the
pak-based workflows becoming the standard workflows in `r-lib/actions`.

* `use_github_pages()` and `use_pkgdown_github_pages()` use a new method for
creating an empty, orphan `gh-pages` branch. This is necessary due to new
GitHub behaviour, where it has become essentially impossible to refer to the
Expand Down
6 changes: 3 additions & 3 deletions R/github-actions.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ use_tidy_github_actions <- function() {

full_status <- use_github_action_check_full(repo_spec = repo_spec)
pr_status <- use_github_action_pr_commands()
pkgdown_status <- use_github_action("pkgdown-pak", save_as = "pkgdown.yaml")
test_coverage_status <- use_github_action("test-coverage-pak", save_as = "test-coverage.yaml")
pkgdown_status <- use_github_action("pkgdown", save_as = "pkgdown.yaml")
test_coverage_status <- use_github_action("test-coverage", save_as = "test-coverage.yaml")

old_configs <- proj_path(c(".travis.yml", "appveyor.yml"))
has_appveyor_travis <- file_exists(old_configs)
Expand Down Expand Up @@ -227,7 +227,7 @@ use_github_action_check_full <- function(save_as = "R-CMD-check.yaml",
# this must have `repo_spec` as an argument because it is called as part of
# use_tidy_github_actions()
use_github_action(
"check-pak.yaml",
"check-full.yaml",
save_as = save_as,
ignore = ignore,
open = open
Expand Down

0 comments on commit cd8d146

Please sign in to comment.