Skip to content

Commit f760773

Browse files
authored
Merge pull request #13 from SocketDev/bret/eng-1223-add-githubappignoreusers-to-socket
2 parents 4fc50eb + dc7081f commit f760773

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const { socketYmlSchemaV1 } = require('./lib/v1')
1111
/**
1212
* @typedef SocketYmlGitHub
1313
* @property {boolean} [enabled] enable/disable the Socket.dev GitHub app entirely
14+
* @property {string[]} [ignoreUsers] list of GitHub usernames to ignore when creating reports
1415
* @property {boolean} [projectReportsEnabled] enable/disable Github app project report checks
1516
* @property {boolean} [pullRequestAlertsEnabled] enable/disable GitHub app pull request alert checks
1617
*/
@@ -44,6 +45,11 @@ const socketYmlSchema = {
4445
type: 'object',
4546
properties: {
4647
enabled: { type: 'boolean', nullable: true },
48+
ignoreUsers: {
49+
type: 'array',
50+
items: { type: 'string' },
51+
nullable: true
52+
},
4753
projectReportsEnabled: { type: 'boolean', nullable: true },
4854
pullRequestAlertsEnabled: { type: 'boolean', nullable: true },
4955
},

0 commit comments

Comments
 (0)