github-activity-readme
github-activity-readme copied to clipboard
Prevents action to fail if no events found
fixes #46
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"
);
}