Skip to content

Commit

Permalink
VER 2.3.0
Browse files Browse the repository at this point in the history
^@ fk-git-commit-msg-std
 : Now use messages from `input`.
  • Loading branch information
ForkKILLET committed Jul 19, 2021
1 parent ab92150 commit b1767c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: fk-git-commit-msg-std
description: 'Check if git commit messages meet ForkKILLET standard.'
author: ForkKILLET
inputs:
commit_id:
description: 'Which commit(s) to check.'
msgs:
description: 'Commit messages(s) to check.'
require: true

on: [ push, pull_request ]
Expand All @@ -25,7 +25,8 @@ jobs:
run: |
node << 'CODE'
const { S, I } = require("fk-git-commit-msg-std/check.js")
const M = process.env.INPUT_COMMIT_ID
const A = require(".gitmsgrc.js")
const M = JSON.parse(process.env.INPUT_MSGS)
const F = I(M, A)
process.exit(F)
CODE
Expand Down

0 comments on commit b1767c4

Please sign in to comment.