githubRepositoryProvider.js 395 B

1234567891011121314151617
  1. export function GitHubRepositoryProvider(params = {}) {
  2. return {
  3. key: 'github',
  4. name: 'GitHub',
  5. config: [
  6. {
  7. name: 'name',
  8. label: 'Repository Name',
  9. type: 'text',
  10. placeholder: 'e.g. getsentry/sentry',
  11. help: 'Enter your repository name, in the form <github-org/repo-name>.',
  12. required: true,
  13. },
  14. ],
  15. ...params,
  16. };
  17. }