
Update the GitHub Copilot coding agent firewall allowlist
Source:R/use_github_copilot_whitelist.R
use_github_copilot_whitelist.RdAdds the given hostnames to the Copilot coding agent firewall allowlist for the current repository. If the GitHub token lacks the required permissions, the user is informed of the settings URL and the list of hostnames so they can add them manually. For details, see the Copilot firewall documentation.
Usage
use_github_copilot_whitelist(
allowlist = default_allowlist(),
gh_token = gh::gh_token()
)Arguments
- allowlist
(
character) Hostnames to add to the GitHub Copilot coding agent firewall allowlist. Defaults todefault_allowlist(), a curated set of R and GitHub domains.- gh_token
(
character(1)) A GitHub personal access token. Defaults togh::gh_token().