fix(extract): record JSX namespace member tags as member accesses #4236
This file contains hidden or 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: Commitlint | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| merge_group: | |
| permissions: {} | |
| concurrency: | |
| group: commitlint-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| commitlint: | |
| name: Commit messages | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| cache-dependency-path: package-lock.json | |
| - name: Install commitlint | |
| run: npm ci --ignore-scripts | |
| - name: Lint pull request title | |
| if: github.event_name == 'pull_request' | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| run: printf '%s\n' "$PR_TITLE" | npm run commitlint -- --verbose | |
| - name: Lint commit messages | |
| env: | |
| BEFORE_SHA: ${{ github.event.before }} | |
| PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| run: | | |
| set -euo pipefail | |
| if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then | |
| npm run commitlint -- --from "$PR_BASE_SHA" --to HEAD --verbose | |
| elif [ -z "${BEFORE_SHA:-}" ] || [ "$BEFORE_SHA" = "0000000000000000000000000000000000000000" ]; then | |
| npm run commitlint -- --last --verbose | |
| else | |
| npm run commitlint -- --from "$BEFORE_SHA" --to HEAD --verbose | |
| fi |