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 2a33d43 commit 8caa68cCopy full SHA for 8caa68c
.github/workflows/topic-commenter.yml
@@ -32,9 +32,8 @@ jobs:
32
for (const file of files) {
33
if (file.filename.startsWith('topics/')) {
34
const parts = file.filename.split('/');
35
- const fileName = parts[parts.length - 1];
36
- const topic = fileName.split('.')[0]; // Remove any file extension
37
- topics.push(topic);
+ const topicName = parts[parts.length - 2];
+ topics.push(topicName);
38
}
39
40
0 commit comments