Skip to content

Conversation

@deiga
Copy link
Collaborator

@deiga deiga commented Jan 16, 2026


Before the change?

  • Creating a new github_repository resource with archived = true and visibility = "private" would fail with 403
  • Docs stated that unarchiving a repository via API wasn't supported

After the change?

  • Creating a new github_repository resource with archived = true will "stop" execution in Create to only set archived on the repo.
  • Docs updated to show that unarchiving is supported

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@github-actions github-actions bot added the Type: Bug Something isn't working as documented label Jan 16, 2026
@deiga deiga marked this pull request as draft January 16, 2026 21:25
@deiga deiga marked this pull request as ready for review January 16, 2026 22:33
@stevehipwell stevehipwell added this to the v6.11.0 Release milestone Jan 16, 2026
deiga added 6 commits January 22, 2026 23:04
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
...and skips further updates to the repository

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
@deiga deiga force-pushed the fix-repo-creation-as-archived branch from bf12956 to 63bca10 Compare January 22, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Something isn't working as documented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants