Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read codeowners on demand #35

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Read codeowners on demand #35

merged 1 commit into from
Nov 7, 2024

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
8 checks passed
@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.

2 participants