use_github_actions: Deprecated GitHub Actions functions

View source: R/usethis-deprecated.R

use_github_actionsR Documentation

Deprecated GitHub Actions functions

Description

[Deprecated]

  • use_github_actions() is deprecated because it was just an alias for use_github_action_check_release().

  • use_github_action_check_full() is overkill for most packages and is not recommended.

  • use_github_action_check_release(), use_github_action_check_standard(), and use_github_action_pr_commands() are deprecated in favor of use_github_action(), which can now suggest specific workflows to use.

Usage

use_github_actions()

use_github_action_check_release(
  save_as = "R-CMD-check.yaml",
  ref = NULL,
  ignore = TRUE,
  open = FALSE
)

use_github_action_check_standard(
  save_as = "R-CMD-check.yaml",
  ref = NULL,
  ignore = TRUE,
  open = FALSE
)

use_github_action_pr_commands(
  save_as = "pr-commands.yaml",
  ref = NULL,
  ignore = TRUE,
  open = FALSE
)

use_github_action_check_full(
  save_as = "R-CMD-check.yaml",
  ignore = TRUE,
  open = FALSE,
  repo_spec = NULL
)

usethis documentation built on Sept. 11, 2024, 5:29 p.m.