Skip to content

Commit d1cc944

Browse files
committed
Add manual archive instructions to archive notification
1 parent 440f662 commit d1cc944

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/main.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,12 @@ def handler(event, context) -> str: # type: ignore[no-untyped-def]
574574
" - If the file already exists, please update it with the latest information. \n",
575575
"2. Close this issue. \n\n",
576576
f"After these actions, the repository will be exempt from archive for another {archive_threshold} days. \n\n",
577-
"If you have any questions, please contact an organization administrator.",
577+
"## Manual Archive \n\n",
578+
"If you wish to archive this repository manually, please ensure the following: \n",
579+
"1. A notice is added to the repository `README.md` file indicating that the repository is archived. \n",
580+
"2. All issues and pull requests are closed (Optional but strongly recommended). \n",
581+
"3. Repository Admins / CODEOWNERS are up to date before archiving. This will make it easier to unarchive the repository in the future if needed. \n\n",
582+
"After these actions, you can archive the repository by going to the repository settings and selecting 'Archive this repository'. \n\n",
578583
)
579584

580585
notification_issue_body = "".join(notification_issue_body_tuple)

0 commit comments

Comments
 (0)