We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f11acd commit 50faa3bCopy full SHA for 50faa3b
1 file changed
.github/actions/https-everywhere-labeller/index.js
@@ -95,13 +95,14 @@ async function run(alexa) {
95
const fileList = response.data
96
console.log(fileList);
97
98
- if (!fileList.every(file => rulesetGlob.match(file.name))) {
+ if (!fileList.every(file => rulesetGlob.match(file.filename))) {
99
// Don't touch PRs that modify anything except rulesets
100
console.log('No ruleset files in this PR');
101
return;
102
} else {
103
fileList.forEach(file => {
104
- if(rulesetGlob.match(file.name) !== null){
+ if(rulesetGlob.match(file.filename) !== null){
105
+ console.log('passed match');
106
107
// Look at PR changes directly
108
let matches = file.patch.match(/((host)="([^"]|"")*")/g);
0 commit comments