ci: bash escape vulnerability (#6640)

Co-authored-by: EYHN <cneyhn@gmail.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
random-dudde
2024-04-22 08:30:11 +02:00
committed by GitHub
parent d7e08215d7
commit f288e3ee25

View File

@@ -25,4 +25,7 @@ jobs:
node-version-file: '.nvmrc'
- name: Install dependencies
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