diff --git a/otterdog/webapp/policies/required_file.py b/otterdog/webapp/policies/required_file.py index 28c4b60..568dc6c 100644 --- a/otterdog/webapp/policies/required_file.py +++ b/otterdog/webapp/policies/required_file.py @@ -73,7 +73,7 @@ async def evaluate(self, github_id: str) -> None: github_organization = GitHubOrganization.from_model_data(config_data.config) for repo in github_organization.repositories: for required_file in self.files: - if required_file.repo_selector.matches(repo): + if repo.archived is False and required_file.repo_selector.matches(repo): logger.debug(f"checking for required file '{required_file.path}' in repo '{github_id}/{repo.name}'") title = f"Adding required file {required_file.path}"