github-activity-readme icon indicating copy to clipboard operation
github-activity-readme copied to clipboard

Prevents action to fail if no events found

Open Kanna727 opened this issue 4 years ago • 1 comments

fixes #46

Kanna727 avatar Feb 05 '21 05:02 Kanna727

The workflow will run successfully if you change

    if (!content.length) {
      tools.exit.success("No PullRequest/Issue/IssueComment events found. Leaving README unchanged with previous activity");
    }

to

    if (!content.length) {
      tools.exit.success(
        "No PullRequest/Issue/IssueComment events found. Leaving README unchanged with previous activity"
      );
    }

PuneetGopinath avatar Apr 28 '21 08:04 PuneetGopinath