mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-19 15:26:59 +08:00
#### PR Dependency Tree * **PR #14438** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Refined PR trigger automation to run only on open/reopen/synchronize events * Split native CI into platform-specific builds (Linux, Windows, macOS) for more reliable pipelines * Added conditional Copilot test gating to run API/E2E tests only when relevant * Added conditional PR-title lint skip when edits don't change the title * Improved test result uploads and artifact handling for gated flows <!-- end of auto-generated comment: release notes by coderabbit.ai -->
33 lines
828 B
YAML
33 lines
828 B
YAML
name: PR Title Lint
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
branches:
|
|
- canary
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check-pull-request-title:
|
|
name: Check pull request title
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.event.action != 'edited' || github.event.changes.title != null }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
cache: 'yarn'
|
|
node-version-file: '.nvmrc'
|
|
- name: Install dependencies
|
|
run: yarn workspaces focus @affine/commitlint-config
|
|
- name: Check PR title
|
|
env:
|
|
TITLE: ${{ github.event.pull_request.title }}
|
|
run: echo "$TITLE" | yarn workspace @affine/commitlint-config commitlint -g ./.commitlintrc.json
|