docs: resolve Vale prose and spelling findings
This commit is contained in:
6 files changed
+15
-13
No files matched your search
@@ -22,8 +22,8 @@ var (
|
||||
ErrInvalidPolicy = errors.New("the update policy is manual or auto")
|
||||
)
|
||||
|
||||
// Accept returns the grants an operator accepts for a version that declared
|
||||
// declared. They may be fewer than declared and never more.
|
||||
// Accept returns the grants an operator accepts from a version's declared
|
||||
// set. They may be fewer than declared and never more.
|
||||
func Accept(declared, grants Grants) (Grants, error) {
|
||||
grants = grants.Normalised()
|
||||
if !declared.Normalised().Covers(grants) {
|
||||
|
||||
@@ -151,7 +151,7 @@ func (f *fakeSyncer) EnsureMembership(_ context.Context, m Membership) error {
|
||||
}
|
||||
|
||||
// TestGroupClaimRoleMapping guards OIDC group extraction, highest-privilege role
|
||||
// selection, and org membership synchronization during OIDC sign-in.
|
||||
// selection, and org membership synchronisation during OIDC sign-in.
|
||||
func TestGroupClaimRoleMapping(t *testing.T) {
|
||||
roleMap := map[string]Role{
|
||||
"org-viewers": RoleViewer,
|
||||
|
||||
@@ -248,7 +248,7 @@ func actionInput(s actionSettings) (jsontext.Value, error) {
|
||||
}
|
||||
|
||||
// ranStep is what a step reports for the action it was judged for: the same
|
||||
// shape whether or not an approval covered it, so a later step reads
|
||||
// shape whether an approval covered it, so a later step reads
|
||||
// steps.<id>.result either way.
|
||||
func ranStep(level string, out approvalOutcome) StepResult {
|
||||
return StepResult{
|
||||
|
||||
Reference in new issue
Block a user