Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion component/checker/skill_file_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (c *SkillFileChecker) Check(ctx context.Context, req types.GitalyAllowedReq
}

// Check if SKILL.md is in the correct YAML format with name and description
pattern := `^---\s*\nname:\s*.+\s*\ndescription:\s*.+\s*---$`
pattern := `^---\s*\nname:\s*.+\s*\ndescription:\s*.+\s*---*.`
matched, err := regexp.MatchString(pattern, skillsContent)
if err != nil {
return false, fmt.Errorf("failed to check SKILL.md format: %w", err)
Expand Down
Loading