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

Add support for more events - schedule, workflow_dispatch, workflow_run #145

Merged
merged 7 commits into from
Sep 20, 2024

Conversation

thsaravana
Copy link
Member

Adding support for more event types:

  • schedule
  • workflow_dispatch
  • workflow_run

For schedule and workflow_dispatch, we don't have the concept of 'changed-files' and so we will only calculate the Overall Project coverage. Also, since there won't be a PR for this, only comment-type: summary is applicable for this.
@instrap Maybe we should set both as the default value for comment-type 🤔

For workflow_run, if it has a connected PR, we will use that to add a PR Comment with 'changed-files'. If not, we will only do the Overall Project coverage.

I will update the README.md during the v1.7.2 release with all this information.

Fixes #92
Fixes #34

@thsaravana thsaravana added this to the 1.7.2 milestone Sep 20, 2024
@thsaravana thsaravana self-assigned this Sep 20, 2024
@thsaravana thsaravana merged commit e4bbaf0 into main Sep 20, 2024
3 checks passed
@thsaravana thsaravana deleted the more-events branch September 20, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants