mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
36 lines
712 B
YAML
36 lines
712 B
YAML
name: Check PR title
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
branches:
|
|
- '**'
|
|
- '!release/*'
|
|
|
|
jobs:
|
|
check-pr-title:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Check out branch
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: pnpm/action-setup@v2.2.4
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16.x
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Validate PR title
|
|
id: validate_pr_title
|
|
uses: n8n-io/validate-n8n-pull-request-title@v1.1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|