diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index da967babdae..a689cba53c2 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -108,7 +108,10 @@ jobs: .split('.').join('\\.') // . becomes \. .split('*').join('[^/]*') // * becomes [^/]* .split('[^/]*[^/]*').join('.*'); // ** becomes .* - archLabels.push({ label, pattern }); + archLabels.push({ + label, // Arch: arm + pattern: '^' + pattern + '$' // Match the Line Start and Line End + }); } else { // We don't support all rules of `actions/labeler`