Skip to content

Commit fc106d9

Browse files
desrosjthelovekesh
andauthored
Add github-advanced-security to the exclude list. (#79)
* Add `github-advanced-security` to the exclude list. * Correct formatting. --------- Co-authored-by: desrosj <[email protected]> Co-authored-by: thelovekesh <[email protected]>
1 parent 5a7e66f commit fc106d9

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: dist/index.js

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/contribution-collector.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,11 @@ export async function getContributorsList() {
243243
* @return {boolean} true if the username should be skipped. false otherwise.
244244
*/
245245
function skipUser( username ) {
246-
const skippedUsers = [ 'github-actions', 'dependabot[bot]' ];
246+
const skippedUsers = [
247+
'github-actions',
248+
'dependabot[bot]',
249+
'github-advanced-security',
250+
];
247251

248252
if (
249253
-1 === skippedUsers.indexOf( username ) &&

0 commit comments

Comments
 (0)