Skip to content

Commit

Permalink
ci: bash escape vulnerability (#6640)
Browse files Browse the repository at this point in the history
Co-authored-by: EYHN <[email protected]>
Co-authored-by: LongYinan <[email protected]>
  • Loading branch information
3 people authored Apr 22, 2024
1 parent d7e0821 commit f288e3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pr-title-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f288e3e

Please sign in to comment.