Skip to content

Repository archiving support #881

@mhitza

Description

@mhitza

Prerequisites:

  • Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.

https://docs.github.com/en/repositories/archiving-a-github-repository/archiving-repositories

https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#update-a-repository

Octokit documentation forwards to the same area of GitHub docs

  • If the functionality is not yet available in the API, it would be helpful if you
    contacted support (https://support.github.com/) or posted in the Community Forum (https://github.community/). Please
    include a link to the forum post if you create one or a copy of the response from support.

New Feature

Ability to archive a repository via an archive flag. It's understood, and implied, that once a repository is archived it would need to be manually unarchived as no additional changes can be made to the settings.yml until its unarchived. Useful in contexts where the settings.yml file is the canonical representation of repository state and managed/generated by external tooling.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions