Skip to content

Conversation

@perryqh
Copy link
Contributor

@perryqh perryqh commented Nov 6, 2024

Context

codeowners validate and codeowners-generate-and-validate both include a validation where it compares the computed CODEOWNERS file to one residing on disk.

Change

Always validate that the generated file matches the existing file on disk.

Rather than updating the CODEOWNERS file in memory, read it on demand. the Project.codeowners_file is only used during validation.

@perryqh perryqh requested a review from tstannard November 6, 2024 21:13
@perryqh perryqh merged commit b0899d3 into main Nov 7, 2024
@perryqh perryqh deleted the ph/generate-memory-update branch November 10, 2024 13:38
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