Skip to content

Commit

Permalink
ci: store pr title before usage (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
subzero10 authored May 7, 2024
1 parent ac92121 commit 401a3e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ jobs:
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
- name: Verify PR title is in the correct format
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
echo "${{ github.event.pull_request.title }}" | npx commitlint -V
echo $TITLE | npx commitlint -V

0 comments on commit 401a3e6

Please sign in to comment.