dot-check_test_token: Check Test PAT

.check_test_tokenR Documentation

Check Test PAT

Description

We use a fine-grained GitHub Personal Access Token in our auth testing. This function is memoised and checks that the token has the correct permissions to the various test repositories.

Usage

.check_test_token()

Details

It should have the following token permissions:

  • Contents (read/write)

  • Metadata (read)

on the following repositories

  • tanho63/piggyback

  • tanho63/piggyback-tests

  • tanho63/piggyback-private (a private repository)

Value

named vector of TRUE or FALSE as to whether the token is configured and can access the test repos.


cboettig/piggyback documentation built on Nov. 23, 2024, 6:44 a.m.