ci: bash escape vulnerability (#6640)
Co-authored-by: EYHN <cneyhn@gmail.com> Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
5
.github/workflows/pr-title-lint.yml
vendored
5
.github/workflows/pr-title-lint.yml
vendored
@@ -25,4 +25,7 @@ jobs:
|
|||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn workspaces focus @affine/commitlint-config
|
run: yarn workspaces focus @affine/commitlint-config
|
||||||
- run: echo "${{ github.event.pull_request.title }}" | yarn workspace @affine/commitlint-config commitlint -g ./.commitlintrc.json
|
- name: Check PR title
|
||||||
|
env:
|
||||||
|
TITLE: ${{ github.event.pull_request.title }}
|
||||||
|
run: echo "$TITLE" | yarn workspace @affine/commitlint-config commitlint -g ./.commitlintrc.json
|
||||||
|
|||||||
Reference in New Issue
Block a user