8000
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 ee05ae7 commit c1cf902Copy full SHA for c1cf902
src/main.ts
@@ -9,7 +9,10 @@ async function run() {
9
const skipOnCommitMsg = core.getInput(INPUT)
10
console.log(`skip CI on commit message ${skipOnCommitMsg}`)
11
12
+ core.startGroup('Expand to see the github context')
13
console.log(JSON.stringify(git.context))
14
+ core.endGroup()
15
+
16
const commitMessage = git.context.payload.head_commit.message
17
if (commitMessage.includes(skipOnCommitMsg)) {
18
core.setFailed(`stopping here, because the commit message contains the provided input <${skipOnCommitMsg}>`)
0 commit comments