Closed jatin-mehrotra-colorkrew closed 3 months ago
@gaurav-nelson Can you look into this.
You can use ignorePatterns
in your configuration to ignore the links to your private repositories. PS: https://github.com/UmbrellaDocs/linkspector?tab=readme-ov-file#ignore-patterns
@gaurav-nelson
Is there a way to check Private repositories using this GHA?
Unfortunately, Linkspector doesn't have that functionality yet. Please feel free to create new feature request.
For now, you can try, markdown-link-check
with httpHeaders
option PS: https://github.com/tcort/markdown-link-check?tab=readme-ov-file#markdownlinkcheckmarkdown-opts-callback
"httpHeaders": [
{
"urls": ["https://example.com"],
"headers": {
"Authorization": "Basic Zm9vOmJhcg==",
"Foo": "Bar"
}
}
],
Create a personal access token on GitHub and then use it with Authorization
. Make sure to not upload the file to GitHub with your token in it. 😄
Is your feature request related to a problem? Please describe.
I have an organization which has private repositories. We use wiki for maintaining our documentation and we link many repositories in our documentation. While running this GHA it also flags working links ( private repository of my organizations)
Describe the solution you'd like
My organization private repository should not be flagged
Describe alternatives you've considered
NA
Additional context
Code I am using