Fix for a bug in #3204: Every PR was being labeled tests.
This was caused by V4 of actions/labeler combining multiple rules for a label with OR rather than the AND its documentation implied, so '!**/tests/Rcheck_reference.log' was matching on any file that wasn't Rcheck_reference.log, whether or not it was in a test directory.
Fixed by updating to actions/labeler@V5, which uses a more verbose but clearer rule notation.
Motivation and Context
Review Time Estimate
[ ] Immediately
[ ] Within one week
[ ] When possible
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] My change requires a change to the documentation.
Description
Fix for a bug in #3204: Every PR was being labeled
tests
.This was caused by V4 of
actions/labeler
combining multiple rules for a label with OR rather than the AND its documentation implied, so'!**/tests/Rcheck_reference.log'
was matching on any file that wasn't Rcheck_reference.log, whether or not it was in a test directory.Fixed by updating to
actions/labeler@V5
, which uses a more verbose but clearer rule notation.Motivation and Context
Review Time Estimate
Types of changes
Checklist: