You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`The github token was used to call ${result.method} ${result.host}${result.path} but the permission is unknown. Please report this to the action author.`);
121819
+
core.warning(`The github token was used to call ${result.method} ${result.host}${result.path} but the permission is unknown. Please report this to the action author.`);
121820
+
wasUnknown = true;
121821
+
continue;
121819
121822
}
121820
121823
121821
121824
if (permissions.has(kind)) {
@@ -121838,6 +121841,10 @@ async function run() {
121838
121841
}
121839
121842
}
121840
121843
121844
+
if (wasUnknown) {
121845
+
summary += "\nAt least one call wasn't recognized. Please check the logs and report this to the action author.";
console.log(`The github token was used to call ${result.method}${result.host}${result.path} but the permission is unknown. Please report this to the action author.`);
77
+
core.warning(`The github token was used to call ${result.method}${result.host}${result.path} but the permission is unknown. Please report this to the action author.`);
78
+
wasUnknown=true;
79
+
continue;
77
80
}
78
81
79
82
if(permissions.has(kind)){
@@ -96,6 +99,10 @@ async function run() {
96
99
}
97
100
}
98
101
102
+
if(wasUnknown){
103
+
summary+="\nAt least one call wasn't recognized. Please check the logs and report this to the action author.";
0 commit comments