Feat/arabic support #23118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ./.github/actions/setup | |
- 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 |