Skip to content

Commit

Permalink
chore: protect against command injection
Browse files Browse the repository at this point in the history
  • Loading branch information
garethbowen authored Jun 26, 2024
1 parent 80dff8f commit 0d12c6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Lint title
run: npx --no-install commitlint <<< "${{ github.event.pull_request.title }}"
env:
TITLE: ${{ github.event.pull_request.title }}
run: npx --no-install commitlint <<< "$TITLE"

0 comments on commit 0d12c6d

Please sign in to comment.