PecanProject / pecan

The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
www.pecanproject.org
Other
199 stars 230 forks source link

Labeler fix #3309

Closed infotroph closed 1 week ago

infotroph commented 1 week ago

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: