Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
218 commits
Select commit Hold shift + click to select a range
ba1a988
Add GitHub Action to validate ARM leases
tejaswiMinnu Jan 7, 2026
2a36e3c
added test yaml
tejaswiMinnu Jan 7, 2026
c223332
yaml package was missing
tejaswiMinnu Jan 7, 2026
30fbed2
yaml package was missing
tejaswiMinnu Jan 7, 2026
e3dabae
workflow unable to fetch base branch
tejaswiMinnu Jan 7, 2026
f0c389d
added merge base to check proper comparison
tejaswiMinnu Jan 7, 2026
89d7708
debug why arm-leases is not detected
tejaswiMinnu Jan 7, 2026
51ca6a1
debug why arm-leases is not detected
tejaswiMinnu Jan 7, 2026
e0846be
debug
tejaswiMinnu Jan 7, 2026
c570ea5
remove debug logs
tejaswiMinnu Jan 7, 2026
1fa7987
remove debug logs
tejaswiMinnu Jan 7, 2026
00f63e0
refined the code
tejaswiMinnu Jan 7, 2026
61119eb
refined the code
tejaswiMinnu Jan 7, 2026
ce33aeb
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Jan 7, 2026
e5d76c3
Detect new Resource Provider Namespaces, check and validate arm-lease…
tejaswiMinnu Jan 13, 2026
1776e58
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Jan 13, 2026
32ac2de
service group level leases
tejaswiMinnu Jan 14, 2026
5c9c14b
Merge branch 'tejaswis/detectNewRPs' of https://github.com/tejaswiMin…
tejaswiMinnu Jan 14, 2026
4eb0537
added servicegroup
tejaswiMinnu Jan 15, 2026
3603ca4
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Jan 15, 2026
7e1843c
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Jan 22, 2026
60c90b3
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Jan 22, 2026
c9fee42
Update terminology from 'Program Managers' to 'Product Managers'
tejaswiMinnu Jan 22, 2026
1aa96c8
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Jan 23, 2026
3020396
corrected parse failure
tejaswiMinnu Jan 23, 2026
82c8f54
Added labels and check new directory to identify new RP's
tejaswiMinnu Jan 27, 2026
fba25c9
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Jan 27, 2026
a0de6b8
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Jan 27, 2026
f2f002e
Addressed comments : moved comment on PR to .js, used GH script, chan…
tejaswiMinnu Jan 27, 2026
302837f
Merge branch 'tejaswis/detectNewRPs' of https://github.com/tejaswiMin…
tejaswiMinnu Jan 27, 2026
bde5429
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Jan 27, 2026
c954ba1
Itr 1: Addressed comments
tejaswiMinnu Feb 5, 2026
f137291
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Feb 5, 2026
7d6b304
Merge branch 'main' into tejaswis/detectNewRPs
mikeharder Feb 11, 2026
15f592a
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Feb 11, 2026
5a4d5ab
Itr 1 : addressing the comments
tejaswiMinnu Feb 12, 2026
c86658f
Itr 1: missed to checkin yaml
tejaswiMinnu Feb 12, 2026
22472fa
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Feb 12, 2026
59cb315
Itr 1 : checkin labelling js file
tejaswiMinnu Feb 12, 2026
44f0664
Merge branch 'tejaswis/detectNewRPs' of https://github.com/tejaswiMin…
tejaswiMinnu Feb 12, 2026
8d966ac
Itr 1 : addressed copilots comments and modified name of workflow
tejaswiMinnu Feb 12, 2026
acdcfd3
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Feb 12, 2026
0c0dc16
Itr 1: removed yamle file and fixed tests with spell check
tejaswiMinnu Feb 12, 2026
e702c45
Merge branch 'tejaswis/detectNewRPs' of https://github.com/tejaswiMin…
tejaswiMinnu Feb 12, 2026
1ef62fe
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Feb 12, 2026
337923e
spell check
tejaswiMinnu Feb 13, 2026
d7f0f00
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Feb 13, 2026
e596b3f
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Feb 13, 2026
d5d3173
Itr 1: addressed all comments from Mike and Copilot
tejaswiMinnu Feb 13, 2026
011cbc5
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Feb 13, 2026
abb646a
Updated duration-days and ISO format
tejaswiMinnu Feb 13, 2026
bc22fc7
Address - check failures
tejaswiMinnu Feb 13, 2026
b6cad03
Address - check failures
tejaswiMinnu Feb 13, 2026
c2d3365
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Feb 17, 2026
b537b9c
modified workflow name and removed test lease files, updated readme w…
tejaswiMinnu Feb 17, 2026
4302899
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Feb 17, 2026
50a466a
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Feb 20, 2026
b29373d
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Feb 20, 2026
0397e0f
Update .github/workflows/arm-lease-validation-pms.yaml
mikeharder Feb 20, 2026
fc198d2
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 3, 2026
1f4927c
Resolved comments
tejaswiMinnu Mar 3, 2026
5e157e0
Merge branch 'tejaswis/validateArmLeases' of https://github.com/tejas…
tejaswiMinnu Mar 3, 2026
3bf678a
Address comments after merge
tejaswiMinnu Mar 3, 2026
0ac5876
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 3, 2026
dc26c58
adressed all latest comments and moved to arm-lease-validation folder
tejaswiMinnu Mar 4, 2026
e1b2062
Merge branch 'tejaswis/detectNewRPs' of https://github.com/tejaswiMin…
tejaswiMinnu Mar 4, 2026
378b1b2
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 4, 2026
6d687ed
Merge branch 'tejaswis/detectNewRPs' of https://github.com/tejaswiMin…
tejaswiMinnu Mar 4, 2026
7be221c
deleetd files
tejaswiMinnu Mar 4, 2026
e112d2e
tests were failing
tejaswiMinnu Mar 4, 2026
4c9e1d6
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 4, 2026
68353dd
Modified duration, naming structure
tejaswiMinnu Mar 4, 2026
597f0ea
update package
tejaswiMinnu Mar 4, 2026
30aca2d
update package
tejaswiMinnu Mar 4, 2026
49b4961
update lease file
tejaswiMinnu Mar 4, 2026
7c65052
renamed file name
tejaswiMinnu Mar 4, 2026
2b96efa
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 5, 2026
b33fb4a
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 5, 2026
a24b240
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 5, 2026
f323960
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 5, 2026
1722b2a
Modifed few changes after testing in feature branch
tejaswiMinnu Mar 5, 2026
54f25e3
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 6, 2026
7180d8b
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 6, 2026
fde0911
Apply suggestion from @mikeharder
mikeharder Mar 9, 2026
cc9dd22
Apply suggestion from @mikeharder
mikeharder Mar 9, 2026
3542e7a
move temporal to correct package.json
mikeharder Mar 10, 2026
dca5a12
npm i
mikeharder Mar 10, 2026
1f6870b
move temporal to runtime dep
mikeharder Mar 10, 2026
0b97835
npm i
mikeharder Mar 10, 2026
9237135
actually move temporal to runtime dep
mikeharder Mar 10, 2026
513f336
sort deps
mikeharder Mar 10, 2026
f5c0151
Apply suggestion from @mikeharder
mikeharder Mar 10, 2026
a1c9624
npm i
mikeharder Mar 10, 2026
6bdb3f6
Merge branch 'main' into tejaswis/validateArmLeases
mikeharder Mar 10, 2026
bcd9a9d
Merge branch 'main' into tejaswis/detectNewRPs
mikeharder Mar 10, 2026
6dcf169
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 10, 2026
0554914
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 10, 2026
1af44a5
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 11, 2026
9b45716
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 11, 2026
8d2f6e4
Addressed the comment
tejaswiMinnu Mar 11, 2026
8923338
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 11, 2026
a29e9d9
Added service name
tejaswiMinnu Mar 11, 2026
6357b80
Merge branch 'tejaswis/validateArmLeases' of https://github.com/tejas…
tejaswiMinnu Mar 11, 2026
ea9739e
tried to exclude arm-leases from spell check, reviewer names are trig…
tejaswiMinnu Mar 11, 2026
fda8efa
check specifications folder format with the lease file
tejaswiMinnu Mar 11, 2026
d184f82
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 12, 2026
bac0cab
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 12, 2026
873f7db
Fix error
tejaswiMinnu Mar 12, 2026
d748327
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 12, 2026
e0104c7
Addressed comments
tejaswiMinnu Mar 12, 2026
b7e6924
Addresses copilots comments
tejaswiMinnu Mar 12, 2026
0580869
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 12, 2026
3ab515f
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 12, 2026
26dc21e
Naming convention
tejaswiMinnu Mar 12, 2026
9790953
Names
tejaswiMinnu Mar 12, 2026
56e1b82
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 12, 2026
e568a48
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 12, 2026
99fda81
Restore TextToSpeech files accidentally dropped in merge
tejaswiMinnu Mar 13, 2026
f7e8d33
Addressed copilots review comments
tejaswiMinnu Mar 13, 2026
ed0c014
Potential fix for pull request finding
tejaswiMinnu Mar 13, 2026
34a8711
Addressed copilots review comments
tejaswiMinnu Mar 13, 2026
d702e7c
Merge branch 'tejaswis/validateArmLeases' of https://github.com/tejas…
tejaswiMinnu Mar 13, 2026
feee9bf
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 13, 2026
53ae86e
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 13, 2026
d29ef17
Addressed copilots suggestions
tejaswiMinnu Mar 13, 2026
3e9b492
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 13, 2026
450d8fb
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 13, 2026
79d8b58
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 16, 2026
ef14528
Revise readme for TextToSpeech SDK configuration
tejaswiMinnu Mar 16, 2026
bc75a89
Fix YAML formatting in readme.md
tejaswiMinnu Mar 16, 2026
ac3b480
Fix YAML formatting in TextToSpeech readme
tejaswiMinnu Mar 16, 2026
ecea007
Fix YAML formatting in TextToSpeech readme
tejaswiMinnu Mar 16, 2026
2183413
Update readme.md
tejaswiMinnu Mar 16, 2026
dba190b
Revise readme for TextToSpeech SDK updates
tejaswiMinnu Mar 16, 2026
5200de5
Revise TextToSpeech readme for version updates
tejaswiMinnu Mar 16, 2026
8d66fd2
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 16, 2026
41617d7
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 16, 2026
036702e
Remove unintended trailing newline from TextToSpeech readme.md
tejaswiMinnu Mar 16, 2026
2297435
Merge branch 'main' into tejaswis/detectNewRPs
mikeharder Mar 17, 2026
a60d668
format
mikeharder Mar 17, 2026
12aee19
make if-false pass actionlint
mikeharder Mar 17, 2026
fde18d2
Merge branch 'main' into tejaswis/detectNewRPs
mikeharder Mar 17, 2026
23fa3fd
Merge branch 'main' into tejaswis/validateArmLeases
mikeharder Mar 17, 2026
b976f2c
format
mikeharder Mar 17, 2026
f5b8329
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 17, 2026
ec02f70
Address Mike's review comments: revert package-lock.json and remove s…
tejaswiMinnu Mar 17, 2026
5e3dfb7
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 17, 2026
48bf3b6
revert
tejaswiMinnu Mar 17, 2026
8681feb
Revert
tejaswiMinnu Mar 17, 2026
c9caecc
Revert
tejaswiMinnu Mar 17, 2026
cf4d5ca
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 17, 2026
ccb7e47
Merge branch 'main' into tejaswis/detectNewRPs
tejaswiMinnu Mar 17, 2026
504adc2
Updated and aligned with this name arm-modeling-review
tejaswiMinnu Mar 17, 2026
6f9910c
Merge branch 'main' into tejaswis/validateArmLeases
mikeharder Mar 17, 2026
cfc0a92
Add arm-leases to ignorePaths in cspell config
mikeharder Mar 17, 2026
b4d8a83
Merge conflict - package-lock
tejaswiMinnu Mar 18, 2026
fa17244
Merge pull request #37 from tejaswiMinnu/tejaswis/detectNewRPs
tejaswiMinnu Mar 18, 2026
074c81d
Merge branch 'main' into tejaswis/validateArmLeases
tejaswiMinnu Mar 18, 2026
0903e25
Merge pull request #38 from tejaswiMinnu/tejaswis/validateArmLeases
tejaswiMinnu Mar 18, 2026
6fc8869
Initial plan
Copilot Mar 18, 2026
02a916d
Enable ARM Modeling Review workflow by removing disabled condition
Copilot Mar 18, 2026
aaf3a57
Merge pull request #40 from tejaswiMinnu/copilot/review-arm-modeling-…
tejaswiMinnu Mar 18, 2026
3061caf
Merge branch 'Azure:main' into main
tejaswiMinnu Mar 18, 2026
e723370
Initial plan
Copilot Mar 18, 2026
5891061
Add ARM Modeling Review to update-labels.yaml workflow triggers
Copilot Mar 18, 2026
56ee2e7
Merge pull request #42 from tejaswiMinnu/copilot/fix-arm-modeling-wor…
tejaswiMinnu Mar 18, 2026
6256554
Initial plan
Copilot Mar 18, 2026
a049a0a
Fix ARM Lease Validation to allow new RPs without existing specificat…
Copilot Mar 18, 2026
5e2bf91
Merge pull request #45 from tejaswiMinnu/copilot/debug-workflow-failure
tejaswiMinnu Mar 18, 2026
6878150
Initial plan
Copilot Mar 19, 2026
c19e1a3
Add ARM lease file for new Microsoft.XYZ RP
Copilot Mar 19, 2026
99bb55d
Merge pull request #46 from tejaswiMinnu/copilot/fix-lease-content-va…
tejaswiMinnu Mar 19, 2026
5590c05
Initial plan
Copilot Mar 19, 2026
8afeede
Fix: ensure ARMModelingSignedOff label exists via workflow step in up…
Copilot Mar 19, 2026
3f7d8ae
Fix: trigger ARM Modeling Review workflow when ARMModelingSignedOff l…
Copilot Mar 19, 2026
f7cdb98
Revert update-labels.yaml to original state
Copilot Mar 19, 2026
436afe5
Restore update-labels.yaml to match origin/main (no diff)
Copilot Mar 19, 2026
bbf551c
Merge pull request #47 from tejaswiMinnu/copilot/fix-armmodelingsigne…
tejaswiMinnu Mar 19, 2026
283cf52
Add ARM lease for Microsoft.Barbie RP
Mar 19, 2026
97176ba
Merge pull request #11 from vikeshi26/add-barbie-lease
vikeshi26 Mar 19, 2026
9403df1
Fix: move Barbie lease to correct path with service name
Mar 19, 2026
13adc93
Merge pull request #12 from vikeshi26/fix-barbie-lease-path
vikeshi26 Mar 19, 2026
b13b198
Add ARM lease for Microsoft.Batman
Mar 19, 2026
c6ccecc
Merge pull request #13 from vikeshi26/add-batman-lease
vikeshi26 Mar 19, 2026
2823d2d
Initial plan
Copilot Mar 20, 2026
f965d46
fix(arm-modeling-review): always read lease from HEAD^ via git show, …
Copilot Mar 20, 2026
52e0a1a
Merge pull request #52 from tejaswiMinnu/copilot/update-head-handling
tejaswiMinnu Mar 20, 2026
afb676b
Initial plan
Copilot Mar 20, 2026
f9e0452
Add lease file for Microsoft.XYZ/XYZAnalytics
Copilot Mar 20, 2026
461e6c0
Merge pull request #54 from tejaswiMinnu/copilot/add-lease-file-micro…
tejaswiMinnu Mar 20, 2026
fb079ba
Initial plan
Copilot Mar 20, 2026
c74d5a6
Add lease for XYZInsights service under XYZ RP
Copilot Mar 20, 2026
c5e8bd3
Merge pull request #57 from tejaswiMinnu/copilot/add-lease-for-xyzins…
tejaswiMinnu Mar 20, 2026
46beb68
Initial plan
Copilot Mar 20, 2026
21f94f6
Fix ARM Modeling Review failure when lease is merged after PR's merge…
Copilot Mar 20, 2026
ddd41a0
Refactor detect-arm-leases tests: use vi.stubEnv() instead of nested …
Copilot Mar 20, 2026
92e0bd3
Merge pull request #58 from tejaswiMinnu/copilot/fix-arm-modeling-rev…
tejaswiMinnu Mar 20, 2026
c53a543
Initial plan
Copilot Mar 20, 2026
cb0d3fc
Add ARM lease for Microsoft.XYZ/XYZMonitor service group
Copilot Mar 20, 2026
f7fa04e
Merge pull request #60 from tejaswiMinnu/copilot/add-lease-for-servic…
tejaswiMinnu Mar 20, 2026
4ef55f3
Resolve
tejaswiMinnu Mar 20, 2026
9f8f462
Test
tejaswiMinnu Mar 20, 2026
6fba442
Merge pull request #61 from tejaswiMinnu/resolve
tejaswiMinnu Mar 20, 2026
6415674
Test Lease
tejaswiMinnu Mar 20, 2026
c76420a
Merge pull request #63 from tejaswiMinnu/lease
tejaswiMinnu Mar 20, 2026
425932c
Rename .github/arm-leases/testrop/Microsoft.TestROP/lease.yaml to .gi…
tejaswiMinnu Mar 20, 2026
08c420b
Merge branch 'Azure:main' into main
tejaswiMinnu Mar 21, 2026
303bf8f
Rename .github/arm-leases/testrop/Microsoft.TestROP/arm-leases/testro…
tejaswiMinnu Mar 21, 2026
dd1f5a2
Merge remote-tracking branch 'tejaswi/main'
Mar 23, 2026
d03190d
Add ARM lease for Microsoft.Polarbear
Mar 23, 2026
0376333
Merge pull request #16 from vikeshi26/add-polarbear-lease
vikeshi26 Mar 23, 2026
0ac42ef
Initial plan
Copilot Mar 23, 2026
f1180e2
Fix detect-arm-leases: use path.join() instead of path.resolve() for …
Copilot Mar 23, 2026
d14f44b
Merge pull request #65 from tejaswiMinnu/copilot/check-sync-issues-fo…
tejaswiMinnu Mar 23, 2026
6ebc30d
Merge pull request #17 from tejaswiMinnu/main
vikeshi26 Mar 23, 2026
c6058e0
Add ARM lease for Microsoft.Tiwari
Mar 23, 2026
11419ca
Merge pull request #19 from vikeshi26/add-tiwari-lease
vikeshi26 Mar 23, 2026
6019efb
Add new resource type addonPlugins to Microsoft.Addons
Mar 23, 2026
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
97 changes: 97 additions & 0 deletions .github/arm-leases/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# ARM Leases - Design Discussion Period

## Overview

This directory contains lease files that establish a time-limited design discussion period for Resource Providers (RPs) in the Azure REST API specifications repository. ARM leases provide a structured timeframe for Product Managers (PMs) and RP owners to collaborate on API design, review specifications.

**Important**: Only Product Managers (PMs) are authorized to add lease.yaml files to this directory. Lease files should be added after conducting office hours discussions with RP owners. The reviewer field should contain the GitHub alias of a PM who has reviewed and approved the lease.

## Code Owners and Contribution Guidelines

This directory is intended to be governed via CODEOWNERS to ensure proper governance:

- **Product Managers (PMs)**: Can add and modify `lease.yaml` files after office hours discussions with RP owners
- **Engineers**: Can enhance and improve the validation workflow and related automation
- **Approvals**: All changes should be reviewed and approved by designated code owners (PMs and engineers listed in CODEOWNERS, when configured)

**Adding New PMs**: To grant a new PM access to add lease files, they should be added to the CODEOWNERS file for the `.github/arm-leases/` directory path when CODEOWNERS protection is configured.

## Lease File Structure

Each lease must be placed in the following directory structure:

```
.github/arm-leases/<orgName>/<rpNamespace>/[<serviceName> (optional)]/lease.yaml
```

### Path Requirements:

- `<orgName>`: lowercase alphanumeric only (e.g., testservice, widgetservice)
- `<rpNamespace>`: alphanumeric with dots, case-sensitive (e.g., Microsoft.TestRP, Azure.Widget)
- `<serviceName>`: (optional) customer-facing service name within an RP (e.g., DiskRP, ComputeRP). Must not start with "stable" or "preview"

### Lease File Format

The `lease.yaml` file must follow this format:

```yaml
lease:
resource-provider: Microsoft.TestRP # Must match the rpNamespace folder name
startdate: 2026-01-07 # ISO 8601 format (YYYY-MM-DD)
duration: P180D # ISO 8601 duration (max 180 days, e.g., P180D, P90D, P5M)
reviewer: "@evanhissey" # GitHub alias of the approving reviewer
```

### Copy-Paste Template

Create a file at `.github/arm-leases/<orgName>/<rpNamespace>/<serviceName>(optional)/lease.yaml` with the following content (replace the placeholder values):

```yaml
lease:
resource-provider: <rpNamespace>
startdate: <YYYY-MM-DD>
duration: P180D
reviewer: "@your-github-alias"
```

## Validation Rules

All lease files are automatically validated with the following requirements:

### 1. File Location

- Only `lease.yaml` files are allowed in the `.github/arm-leases/` directory
- Must follow the folder structure: `<orgName>/<rpNamespace>/[<serviceName> (optional)]/lease.yaml`

### 2. Resource Provider Name

- Must match the `<rpNamespace>` folder name exactly
- Example: If folder is `Microsoft.TestRP`, then `resource-provider` must be `Microsoft.TestRP`

### 3. Start Date

- Must be in ISO 8601 format: `YYYY-MM-DD`
- Must be a valid calendar date

### 4. Duration

- Required field that cannot be empty
- Must be a valid ISO 8601 duration (e.g., `P180D`, `P90D`, `P5M`)
- **Maximum duration is 180 days**
- Supports day-based (`P90D`), month-based (`P5M`), and combined formats

### 5. Reviewer

- Required field that cannot be empty
- Must be a GitHub alias starting with `@` (e.g., `@githubUsername`)

## Troubleshooting

If your PR check **"ARM Lease Validation"** is failing, review the error messages in the check output and fix the issues in your `lease.yaml` file. Common causes include:

- **Invalid folder structure**: Ensure the path follows `<orgName>/<rpNamespace>/[<serviceName>]/lease.yaml` with lowercase org name
- **Resource provider mismatch**: The `resource-provider` value must match the `<rpNamespace>` folder name exactly
- **Past start date**: The `startdate` must be a valid date in `YYYY-MM-DD` format
- **Invalid duration**: Use a valid ISO 8601 duration that does not exceed 180 days (e.g., `P180D`, `P90D`, `P5M`)
- **Missing or empty fields**: All fields (`resource-provider`, `startdate`, `duration`, `reviewer`) are required
- **Disallowed files**: Only `lease.yaml` and `README.md` files are permitted in `.github/arm-leases/`
5 changes: 5 additions & 0 deletions .github/arm-leases/barbie/Microsoft.Barbie/Barbie/lease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.Barbie
startdate: 2026-03-19
duration: P180D
reviewer: "@vikeshi26"
5 changes: 5 additions & 0 deletions .github/arm-leases/batman/Microsoft.Batman/Batman/lease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.Batman
startdate: 2026-03-19
duration: P180D
reviewer: "@vikeshi26"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.Polarbear
startdate: 2026-03-23
duration: P180D
reviewer: "@vikeshi26"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.TestROP
startdate: "2026-03-20"
duration: P180D
reviewer: "@pshao25"
5 changes: 5 additions & 0 deletions .github/arm-leases/tiwari/Microsoft.Tiwari/Tiwari/lease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.Tiwari
startdate: 2026-03-23
duration: P180D
reviewer: "@vikeshi26"
5 changes: 5 additions & 0 deletions .github/arm-leases/widget/Microsoft.Widget/Widget/lease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.Widget
startdate: "2026-03-20"
duration: P180D
reviewer: "@pshao25"
5 changes: 5 additions & 0 deletions .github/arm-leases/xyz/Microsoft.XYZ/XYZ/lease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.XYZ
startdate: "2026-03-19"
duration: P180D
reviewer: "@tejaswiMinnu"
5 changes: 5 additions & 0 deletions .github/arm-leases/xyz/Microsoft.XYZ/XYZAnalytics/lease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.XYZ
startdate: "2026-03-20"
duration: P180D
reviewer: "@tejaswiMinnu"
5 changes: 5 additions & 0 deletions .github/arm-leases/xyz/Microsoft.XYZ/XYZInsights/lease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.XYZ
startdate: "2026-03-20"
duration: P180D
reviewer: "@tejaswiMinnu"
5 changes: 5 additions & 0 deletions .github/arm-leases/xyz/Microsoft.XYZ/XYZMonitor/lease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lease:
resource-provider: Microsoft.XYZ
startdate: "2026-03-20"
duration: P180D
reviewer: "@tejaswiMinnu"
1 change: 1 addition & 0 deletions .github/cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import:
- ../cspell.yaml
ignorePaths:
- CODEOWNERS*
- arm-leases/**
- policies/**
- workflows/*.lock.yml
- workflows/**/*.md
Expand Down
Loading
Loading