question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for private repositories

See original GitHub issue

Asked in https://github.com/giscus/giscus/discussions/291

Would be nice to add/fix support for private repositories.

Currently new comment creates new discussion, but discussion search is not working and no comments are displayed.

This is a failed request on page load:

GET http://localhost:3000/api/discussions?repo=antulik/test-giscus&term=Test&category=General&number=0&first=15

Response

404
{"error":"Discussion not found"}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:18
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

10reactions
antncommented, Dec 9, 2022

👋 Hi, engineer from GitHub here! Sorry about this bug, I’ve just deployed a fix for it. App tokens can now search for discussions in private repositories, as long as the app has the discussions: read permission.

If you’re still running into any problems, please let me know!

4reactions
antulikcommented, Dec 2, 2021

@laymonage thank you for looking into that so quickly.

This means that you should be able to use the “specific discussion number” mapping for the time being.

I can confirm specific discussion number works correctly with private repositories.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inviting collaborators to a personal repository - GitHub Docs
You can invite users to become collaborators to your personal repository. If you're using GitHub Free, you can add unlimited collaborators on public...
Read more >
Support for Private Repositories - Using Swift
The only documentation/approach I've found is from Pulling private SPM repos in Xcode and the mentioned [IBM blogpost]*(IBM Developer) (and ...
Read more >
Support for Private Repos - Coveralls Docs
Coveralls will always by free for Open Source repositories! Troubleshooting · Open an Issue · Sales · Feedback · Blog · Twitter ·...
Read more >
Add a Package from a Private Repository | Integrated Composer
The steps below outline a method for adding a package from a private GitHub, GitLab, or Bitbucket repository. Refer to the official Composer ......
Read more >
Private - JitPack.io
Artifact sharing privately · Sign In with a user that has push permissions · Look up your private repository · Click on settings...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found