JWT tokens without both 'iss' and 'aud' are no longer reported as active credentials

This commit is contained in:
Mick Grove 2025-08-07 17:36:39 -07:00
commit d4e8900d37
4 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ pub struct GitHubRepoSpecifiers {
pub all_organizations: bool,
/// Filter by repository type
#[arg(long, default_value_t = GitHubRepoType::All, alias = "github-repo-type")]
#[arg(long, default_value_t = GitHubRepoType::Source, alias = "github-repo-type")]
pub repo_type: GitHubRepoType,
}
@ -87,7 +87,7 @@ pub enum GitHubRepoType {
impl From<GitHubRepoType> for crate::github::RepoType {
fn from(val: GitHubRepoType) -> Self {
match val {
GitHubRepoType::All => crate::github::RepoType::All,
GitHubRepoType::Source => crate::github::RepoType::All,
GitHubRepoType::Source => crate::github::RepoType::Source,
GitHubRepoType::Fork => crate::github::RepoType::Fork,
}