docs: resolve Vale prose and spelling findings

This commit is contained in:
sam committed 2026-11-28 01:32:50 +11:00
1 parent 59d85e197f
commit 5505bef5ee
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) {
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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{