refs/notes/commits by default. Pass ref to create the note on another notes ref.
createNote() creates a new note and fails if the target already has a note on the selected notes
ref. To replace a note, call deleteNote() first, then create the new note.
See Git Notes for notes ref rules and write behavior.
Options
Notes ref to create the note on. Accepts short names like
ci, notes/ci, or full refs like
refs/notes/ci; all are normalized to a full refs/notes/* ref. Defaults to
refs/notes/commits. Go: Ref.Ordered ref policy rules (
{ pattern, ops? }) in the JWT for this call. Code Storage checks the target notes ref. Python: ref_policies. Go: RefPolicies with type storage.RefPolicyList. See Ref Policies.