Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevents action to fail if no events found #49

Merged
merged 3 commits into from
May 30, 2023

Conversation

Kanna727
Copy link
Contributor

@Kanna727 Kanna727 commented Feb 5, 2021

fixes #46

@PuneetGopinath
Copy link

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"
      );
    }

@tuunit tuunit changed the base branch from master to 0.4.0-rc May 30, 2023 21:08
@tuunit tuunit merged commit 38fdc82 into jamesgeorge007:0.4.0-rc May 30, 2023
1 check passed
tuunit added a commit that referenced this pull request May 31, 2023
Co-authored-by: Jan Larwig <jan@larwig.com>
tuunit added a commit to tuunit/github-activity-readme that referenced this pull request May 31, 2023
Co-authored-by: Jan Larwig <jan@larwig.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails if no activity found
3 participants