REQUIRED_SCOPES

Constant REQUIRED_SCOPES 

Source
pub const REQUIRED_SCOPES: &[&str];
Expand description

OAuth scopes that the saved token must have for OTA operations to succeed.

This is the single source of truth for required scopes. Both GithubClient::initiate_device_flow and GithubClient::verify_token_scopes derive from this list, so adding or removing a scope here is the only change needed.

Current requirements:

  • public_repo — required to download Actions artifacts from public repositories