Skip to content

Commit dd9aadf

Browse files
authored
fix: properly quote PR_TITLE (#337)
1 parent f04a76d commit dd9aadf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ jobs:
4747
env:
4848
PR_TITLE: ${{ github.event.pull_request.title }}
4949
run: |
50-
echo '$PR_TITLE' | npx --offline commitlint -V
50+
echo "$PR_TITLE" | npx --offline commitlint -V

lib/content/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
env:
2222
PR_TITLE: $\{{ github.event.pull_request.title }}
2323
run: |
24-
echo '$PR_TITLE' | {{ rootNpxPath }} --offline commitlint -V
24+
echo "$PR_TITLE" | {{ rootNpxPath }} --offline commitlint -V

tap-snapshots/test/apply/source-snapshots.js.test.cjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ jobs:
811811
env:
812812
PR_TITLE: \${{ github.event.pull_request.title }}
813813
run: |
814-
echo '$PR_TITLE' | npx --offline commitlint -V
814+
echo "$PR_TITLE" | npx --offline commitlint -V
815815
816816
.github/workflows/release.yml
817817
========================================
@@ -2491,7 +2491,7 @@ jobs:
24912491
env:
24922492
PR_TITLE: \${{ github.event.pull_request.title }}
24932493
run: |
2494-
echo '$PR_TITLE' | npx --offline commitlint -V
2494+
echo "$PR_TITLE" | npx --offline commitlint -V
24952495
24962496
.github/workflows/release.yml
24972497
========================================
@@ -4023,7 +4023,7 @@ jobs:
40234023
env:
40244024
PR_TITLE: \${{ github.event.pull_request.title }}
40254025
run: |
4026-
echo '$PR_TITLE' | npx --offline commitlint -V
4026+
echo "$PR_TITLE" | npx --offline commitlint -V
40274027
40284028
.github/workflows/release.yml
40294029
========================================

0 commit comments

Comments
 (0)