mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
chore(ci): escape quotes in "Lint PR title" step (#18200)
This commit is contained in:
parent
ddb5f64d02
commit
b297f57a9b
2 changed files with 7 additions and 3 deletions
6
.github/workflows/ci.generate.ts
vendored
6
.github/workflows/ci.generate.ts
vendored
|
@ -481,8 +481,10 @@ const ci = {
|
|||
{
|
||||
name: "Lint PR title",
|
||||
if: "matrix.job == 'lint' && github.event_name == 'pull_request'",
|
||||
run:
|
||||
"deno run ./tools/verify_pr_title.js '${{ github.event.pull_request.title }}'",
|
||||
env: {
|
||||
PR_TITLE: "${{ github.event.pull_request.title }}",
|
||||
},
|
||||
run: 'deno run ./tools/verify_pr_title.js "$PR_TITLE"',
|
||||
},
|
||||
{
|
||||
name: "lint.js",
|
||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -295,7 +295,9 @@ jobs:
|
|||
run: deno run --unstable --allow-write --allow-read --allow-run ./tools/format.js --check
|
||||
- name: Lint PR title
|
||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job == ''lint'' && github.event_name == ''pull_request''))'
|
||||
run: 'deno run ./tools/verify_pr_title.js ''${{ github.event.pull_request.title }}'''
|
||||
env:
|
||||
PR_TITLE: '${{ github.event.pull_request.title }}'
|
||||
run: deno run ./tools/verify_pr_title.js "$PR_TITLE"
|
||||
- name: lint.js
|
||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job == ''lint''))'
|
||||
run: deno run --unstable --allow-write --allow-read --allow-run ./tools/lint.js
|
||||
|
|
Loading…
Reference in a new issue