Skip to content

Avoid getting user when anonymous - #2074

Merged
kfcampbell merged 3 commits into
integrations:mainfrom
mnencia:avoid-anonymous-get-user
Jan 5, 2024
Merged

kfcampbell merged 3 commits into
integrations:mainfrom
mnencia:avoid-anonymous-get-user

Conversation

@mnencia

@mnencia mnencia commented Dec 27, 2023 •

Copy link
Copy Markdown
Contributor

Resolves regressions #2008 and #2014 introduced in #1029

Before the change?

  • When anonymous, you always obtain the following initialization error
    Error: GET https://api.github.com/user: 401 Requires authentication []
    

After the change?

  • When anonymous, it works without errors.

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)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

mnencia and others added 2 commits December 27, 2023 10:58

@kfcampbell kfcampbell 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.

Thanks for catching this!

@kfcampbell
kfcampbell merged commit 7411f66 into integrations:main Jan 5, 2024
@mnencia
mnencia deleted the avoid-anonymous-get-user branch January 6, 2024 09:36
avidspartan1 pushed a commit to avidspartan1/terraform-provider-github that referenced this pull request Feb 5, 2024
Resolves regressions integrations#2008 and integrations#2014 introduced in integrations#1029

Signed-off-by: Marco Nenciarini <[email protected]>
Co-authored-by: Keegan Campbell <[email protected]>
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