Skip to content

fix(edgeless): rerender edgeless-element-toolbar-widget when readonly changes #18780

fix(edgeless): rerender edgeless-element-toolbar-widget when readonly changes

fix(edgeless): rerender edgeless-element-toolbar-widget when readonly changes #18780

Workflow file for this run

name: PR Title Lint
on:
pull_request:
types:
- opened
- edited
- synchronize
permissions:
contents: read
jobs:
check-pull-request-title:
name: Check pull request title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check PR title
# Using an intermediate environment variable to prevent command injection
# See https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
env:
TITLE: ${{ github.event.pull_request.title }}
run: echo "$TITLE" | npx commitlint -g ./.commitlintrc.json