Skip to content

Every contributor identified as new contributor in repo without issues #369

@jacobtylerwalls

Description

@jacobtylerwalls

Hi, thanks for this tool.

In the repository I work on, we've disabled GitHub Issues.

In 3.1 (and likely since v2), we've found that all contributors are identified as new contributors.

I suppose that's because isFirstIssue returns true:

it('Returns true if no issues are present', async () => {

And that check must be false to be identified as an existing contributor:

// Check if this is the user's first contribution.
if (!(await isFirstIssue(octokit)) && !(await isFirstPullRequest(octokit)))
return core.info('Skipping...Not First Contribution')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions