archive_eol: Set a description before archiving

This commit is contained in:
bbhtt
2024-09-20 08:44:55 +05:30
parent 7af494e7e7
commit b5e9fe9afc
+2
View File
@@ -119,6 +119,8 @@ def main() -> None:
repo.html_url, repo.pushed_at.isoformat(), earliest.isoformat()
)
)
desc = "This repo is archived as the app is EOL."
repo.edit(description=desc)
repo.edit(archived=True)
except UnknownObjectException:
pass