Azure / Azure/azure-cli

az repos policy create --policy-configuration should accept json definition in addition to file path

Open
#30,118 1 comment 0 reactions 0 assignees View on GitHub
act-platform-engineering-squad Auto-Assign customer-reported DevOps Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

When creating repos and policies it would make sense to be able to specify a newly created repo id as scope without having to create a file.
Or even better, provide options for adding policy settings directly in "az repos create".

PS. The documentation for creating policies needs work. For example, there is no explanation of how to set "authorEmailPatterns" and other settings.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.