Skip to content

Commit 62f2610

Browse files
committed
fix: missing scope from group and project deploy tokens
1 parent c5fc885 commit 62f2610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

type_token_scope.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ var (
7171

7272
ValidProjectDeployTokenScopes = []string{
7373
TokenScopeReadRepository.String(),
74-
TokenScopeReadRepository.String(),
74+
TokenScopeReadRegistry.String(),
7575
TokenScopeWriteRegistry.String(),
7676
TokenScopeReadPackageRegistry.String(),
7777
TokenScopeWritePackageRegistry.String(),
7878
}
7979

8080
ValidGroupDeployTokenScopes = []string{
8181
TokenScopeReadRepository.String(),
82-
TokenScopeReadRepository.String(),
82+
TokenScopeReadRegistry.String(),
8383
TokenScopeWriteRegistry.String(),
8484
TokenScopeReadPackageRegistry.String(),
8585
TokenScopeWritePackageRegistry.String(),

0 commit comments

Comments
 (0)