Skip to content

Add lease files correctly#42863

Merged
tejaswiMinnu merged 7 commits into
mainfrom
tejaswis/addLeaseFiles
May 6, 2026
Merged

Add lease files correctly#42863
tejaswiMinnu merged 7 commits into
mainfrom
tejaswis/addLeaseFiles

Conversation

@tejaswiMinnu

Copy link
Copy Markdown
Member

Previous lease files added by Vikeshi was not correct, altering the folder structure for Rp's with and without service names

@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ The required check named Protected Files has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide


Comment generated by summarize-checks workflow run.

@tejaswiMinnu tejaswiMinnu requested a review from MSEvanhi May 4, 2026 20:23

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the lease file for this RP in a different folder?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this is service level lease

throw new Error(`orgName must be lowercase alphanumeric: ${orgName}`);
const normalized = orgName.toLowerCase();
if (!/^[a-z0-9-]+$/.test(normalized)) {
throw new Error(`orgName must be lowercase alphanumeric (hyphens allowed): ${orgName}`);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you already not updating the org to lower case?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am, just renamed properly and updated error message

@tejaswiMinnu tejaswiMinnu requested a review from raosuhas as a code owner May 6, 2026 19:23
@tejaswiMinnu tejaswiMinnu merged commit a8aa262 into main May 6, 2026
29 of 40 checks passed
@tejaswiMinnu tejaswiMinnu deleted the tejaswis/addLeaseFiles branch May 6, 2026 19:24
saprakas pushed a commit to iyyappam/azure-rest-api-specs that referenced this pull request May 12, 2026
* Add lease files

* cohorts 120/180 days

* format

* prettier check

* Prettier check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants