ci: bash escape vulnerability (#6640)

Co-authored-by: EYHN <cneyhn@gmail.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
authored and GitHub committed 2024-04-22 06:30:11 +00:00
1 parent d7e08215d7
commit f288e3ee25
1 file changed
+4 -1
+4 -1
View File
@@ -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