-
Notifications
You must be signed in to change notification settings - Fork 199
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
Improvement: Change review_requested trigger to issue_comment trigger for full test suite #895
base: dev
Are you sure you want to change the base?
Conversation
/run-tests |
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment |
So we need to have this in master to work? |
yep - it's not a great design on the github actions side. Several events ONLY happen on the master branch so its a bit of a leap of faith adding them. So we'll want to scrutinize what i've added very carefully before merging. |
You can try to merge this in master in your fork and see what happens there? |
excellent idea! |
Works in fork |
Reason for this PR
#869
Full test suite is currently run when a review is requested which means that if several people were selected as reviewers it would trigger multiple wasteful runs of the tests.
Changes Made in this PR
This PR removes the review_requested trigger and instead replaces it with an issue_comment trigger, along with necessary conditions to ensure it only runs when pull request comments are made containing the message
/run-tests
Testing Summary
The issue_comment trigger will only run if on the default branch so testing was done by merging changes into fork version of master branch and then running trigger messages on a test PR.
Risk Highlight
Checklist
dev
branch.Future Work