package_request_pipeline: Handle Package Requests from Issues Automatically

Description Usage Arguments

View source: R/package-request.R

Description

Given the

Usage

1
2
3
4
5
6
7
8
package_request_pipeline(
  owner = Sys.getenv("GITCRAN_REPO_OWNER"),
  gh_repository = Sys.getenv("GITCRAN_REPO"),
  labels = Sys.getenv("GITCRAN_LABELS", "package-request"),
  state = Sys.getenv("GITCRAN_STATE", "open"),
  username = Sys.getenv("GITHUB_USER"),
  token = Sys.getenv("GITHUB_PAT")
)

Arguments

owner

character - Github organization/user name, defaults to the environment variable GITCRAN_REPO_OWNER

gh_repository

character, the repository name, defaults to the environment variable GITCRAN_REPO

labels

character vector - Github issue labels to search for package requests, defaults to the environment variable GITCRAN_LABELS

state

character - Issue state, "open" or "closed", defaults to the environment variable GITCRAN_STATE or "open"

username

character - Github username that has access to repository issues, defaults to the environment variable GITHUB_USER

token

character - Github Personal Access TOKEN (PAT) for the provided username with repository read and write permissions, defaults to the environment variable GITHUB_PAT


thomascjohnson/gitCRAN documentation built on Oct. 13, 2020, 8:47 a.m.