Skip to content

fix: remove actions_repository_access_level from state if repo missing#3381

Open
lqc wants to merge 1 commit intointegrations:mainfrom
syncron-oss:fix_access_level_missing
Open

fix: remove actions_repository_access_level from state if repo missing#3381
lqc wants to merge 1 commit intointegrations:mainfrom
syncron-oss:fix_access_level_missing

Conversation

@lqc
Copy link
Copy Markdown

@lqc lqc commented Apr 29, 2026

Resolves #3379


Before the change?

Error is throw if resource is not found during read.

After the change?

Resource is removed from state so it will be recreated.

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

I did not add tests, as I couldn't find any existing ones for this scenario (resource in state, but not present in GitHub).

@github-actions
Copy link
Copy Markdown

👋 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! 🚀

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.

[BUG]: resource "actions_repository_access_level" fails if repository is removed

1 participant