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
core.debug(`reading git commit message to resolve the output variable, output variable will be true if commit message contains message "${skipOnCommitMsg}"`);
42
-
constoctokit=github.getOctokit(ghToken);
43
-
octokit.rest;
41
+
core.info(`reading git commit message to resolve the output variable, output variable will be true if commit message contains message "${skipOnCommitMsg}"`);
44
42
const{ eventName }=github.context;
45
43
core.info(`event name: ${eventName}`);
46
44
letsha='';
@@ -61,7 +59,7 @@ async function run() {
61
59
core.info(`fetch commit with url: ${url}`);
62
60
constcommit=(awaitfetch(url,ghToken));/* and others */
63
61
constcommitMessage=commit.message;
64
-
core.info(`commit message to check against ${commitMessage}`);
62
+
core.info(`commit message to check against "${commitMessage}"`);
65
63
if(commitMessage.includes(skipOnCommitMsg)){
66
64
core.info(`commit message includes skip message (${skipOnCommitMsg}) -> set output ${OUTPUT_PARAMS.SHOULD_EXECUTE} = false`);
core.debug(`reading git commit message to resolve the output variable, output variable will be true if commit message contains message "${skipOnCommitMsg}"`)
20
-
21
-
constoctokit=github.getOctokit(ghToken)
22
-
octokit.rest
19
+
core.info(`reading git commit message to resolve the output variable, output variable will be true if commit message contains message "${skipOnCommitMsg}"`)
23
20
24
21
const{ eventName }=github.context
25
22
core.info(`event name: ${eventName}`)
@@ -43,7 +40,7 @@ async function run() {
43
40
constcommit=(awaitfetch(url,ghToken))as{message: string}/* and others */
44
41
45
42
constcommitMessage=commit.message
46
-
core.info(`commit message to check against ${commitMessage}`)
43
+
core.info(`commit message to check against "${commitMessage}"`)
47
44
48
45
if(commitMessage.includes(skipOnCommitMsg)){
49
46
core.info(`commit message includes skip message (${skipOnCommitMsg}) -> set output ${OUTPUT_PARAMS.SHOULD_EXECUTE} = false`)
0 commit comments