From 2ed6ee6655757b66c5cd0073e22d583d33db65c3 Mon Sep 17 00:00:00 2001 From: Guilherme Varandas Date: Wed, 10 Apr 2024 16:26:32 -0400 Subject: [PATCH] fix: readme typo" 1 && echo "I can run any command on this runner --- .github/workflows/conventional-commits.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index c830eca..941cbc8 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -14,5 +14,8 @@ jobs: with: node-version: 16.13.2 - name: Add @commitlint + env: + TITLE: ${{ github.event.pull_request.title }} + COMMITS: ${{ github.event.pull_request.commits }} run: npm install -g @commitlint/cli @commitlint/config-conventional - - run: bin/conventional-commits.sh "${{ github.event.pull_request.title }}" ${{ github.event.pull_request.commits }} + - run: bin/conventional-commits.sh "$TITLE" $COMMITS