Skip to content

Commit 2746cdb

Browse files
fix(repo): Use intermediate env variable in workflow script (#6641)
1 parent f49ec31 commit 2746cdb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr-title-linter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
sparse-checkout-cone-mode: false
2525

2626
- name: Lint Pull Request Title
27+
env:
28+
PR_TITLE: ${{ github.event.pull_request.title }}
2729
run: |
2830
npm init --scope=clerk --yes
2931
npm i --save-dev @commitlint/config-conventional @commitlint/cli globby --audit=false --fund=false
30-
echo '${{ github.event.pull_request.title }}' | npm exec @commitlint/cli -- --config commitlint.config.ts
32+
echo "$PR_TITLE" | npm exec @commitlint/cli -- --config commitlint.config.ts

0 commit comments

Comments
 (0)