We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b5878 commit 2b4141dCopy full SHA for 2b4141d
.github/workflows/auto-labeller.yml
@@ -89,7 +89,9 @@ jobs:
89
// Try to extract domain from link first
90
let domain = '';
91
if (componentLink) {
92
- const linkMatch = componentLink.match(/\/components\/([^\/]+)/);
+ // Handle both /components/sensor/bme68x_bsec2.html and /components/bme68x_bsec2.html patterns
93
+ // Extract the last segment before .html or the last segment in the path
94
+ const linkMatch = componentLink.match(/\/components\/(?:[^\/]+\/)?([^\/]+?)(?:\.html)?(?:[#?].*)?$/);
95
if (linkMatch) {
96
domain = linkMatch[1];
97
if (components.includes(domain)) {
0 commit comments