core-validate-commit icon indicating copy to clipboard operation
core-validate-commit copied to clipboard

feat: add support for stdin JSON input

Open aduh95 opened this issue 1 month ago • 0 comments

The goal is to remove the need to clone the repo in https://github.com/nodejs/node/blob/main/.github/workflows/notify-on-push.yml, and instead rely on push.commits like so:

- name: Validate commits
  run: echo "$COMMITS" | npx -q core-validate-commit -
  env:
    COMMITS: ${{ toJSON(github.event.commits) }}

aduh95 avatar Dec 21 '25 16:12 aduh95