This is a context provider for OpenCtx that fetches pull requests and issues contents from GitHub.
Add the following to your settings in any OpenCtx client:
"openctx.providers": {
// ...other providers...
"https://openctx.org/npm/@openctx/provider-github": {
// create an access token from here: https://github.com/settings/tokens/new?scopes=repo
"accessToken": "<your-access-token>",
}
},
By default, this provider talks to GitHub.com. Add the URL to your GitHub Enterprise Server or GitHub AE instance to the configuration to point this openctx provider at that:
"openctx.providers": {
// ...other providers...
"https://openctx.org/npm/@openctx/provider-github": {
// create an access token from here: https://github.com/settings/tokens/new?scopes=repo
"accessToken": "<your-access-token>",
"baseURL": "https://ghe.example.com"
}
},
Then use the @
-mention type GitHub PRs & Issues and search for issues or pull requests to include in context using the followining possible query examples:
- https://github.com/facebook/react/issues/1234
- https://github.com/facebook/react/pull/1234
- https://ghe.example.com/facebook/react/pull/1234
- github.com/facebook/react/issues/1234
- ghe.example.com/facebook/react/issues/1234
- facebook/react/issues/1234
- facebook/react:1234
- Source code
- Docs
- License: Apache 2.0