Skip to content

fix(repository): ignore unchanged visibility error - #1368

Merged
nickfloyd merged 4 commits into
integrations:mainfrom
chapurlatn:patch-1
Nov 22, 2022
Merged

nickfloyd merged 4 commits into
integrations:mainfrom
chapurlatn:patch-1

Conversation

@chapurlatn

Copy link
Copy Markdown
Contributor

Resolves #1364


Behavior

Before the change?

  • It ignores repo visibility update error and the visibility didn't actually changed.

After the change?

  • The same, but the error return by github changed and the ignore logic was broken.

Other information


Additional info

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Added the appropriate label for the given change

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes (Please add the Type: Breaking change label)
  • No

If Yes, what's the impact:

  • N/A

Pull request type

Please add the corresponding label for change this PR introduces:

  • Bugfix: Type: Bug
  • Feature/model/API additions: Type: Feature
  • Updates to docs or samples: Type: Documentation
  • Dependencies/code cleanup: Type: Maintenance

@chapurlatn

Copy link
Copy Markdown
Contributor Author

See my comment in the issue for the error differences:
#1364 (comment)

Comment thread github/resource_github_repository.go Resolved
@chapurlatn
chapurlatn requested a review from jtgrohn November 17, 2022 15:36
@Luis-3M

Luis-3M commented Nov 18, 2022

Copy link
Copy Markdown

@kfcampbell could you help approving this PR workflow ? 🙏

@jhaumont jhaumont left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for the PR !

@justin-kidman-axomic

Copy link
Copy Markdown

Any chance we can get this out?

@nickfloyd nickfloyd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ❤️

@nickfloyd
nickfloyd merged commit 40f1500 into integrations:main Nov 22, 2022
@nickfloyd

Copy link
Copy Markdown
Contributor

Going out the door now: https://github.com/integrations/terraform-provider-github/releases/tag/v5.9.1

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.

[BUG] Updating repository visibility broken

6 participants