summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.github/workflows/ci.generate.ts6
-rw-r--r--.github/workflows/ci.yml4
2 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index ed6939572..1d68439d6 100755
--- a/.github/workflows/ci.generate.ts
+++ b/.github/workflows/ci.generate.ts
@@ -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",
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 93fa95d6f..61a2ac6b6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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