Skip to content

invalid guard policy: 'github.repos' is required...' should not be given when there's only one repo #21715

@dsyme

Description

@dsyme

Using a simple declataion like

tools:
  github:
    min-integrity: none 

gives this. But no repos declaration should really be needed here - it's obvious that the policy applies to the current repo

/home/dsyme/agentics/workflows/ai-moderator.md: invalid guard policy: 'github.repos' is required. Use 'all', 'public', or an array of repository patterns (e.g., ['owner/repo', 'owner/*'])

So the repos declaration should just not be needed unless there are multiple repos in play

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions