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

feat: allow archiving/unarchiving repositories #481

Merged
merged 1 commit into from
May 23, 2023

Conversation

martinm82
Copy link
Contributor

@martinm82 martinm82 commented May 16, 2023

This PR is allowing to archive/unarchive repositories. The functionality is available in the REST API (see archived): https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#update-a-repository

I am a bit confused about #193 because it has some heavy code around the unarchiving. Not sure whether unarchiving was in 2022 not possible but the API version I mentioned above mentions it clearly that archiving/unarchiving works through REST API.

@decyjphr decyjphr merged commit af044e9 into github:main-enterprise May 23, 2023
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