n8n/.github/workflows/check-pr-title.yml
कारतोफ्फेलस्क्रिप्ट™ e5514793f6
ci: Update GH actions (no-changelog) (#8453)
2024-01-26 11:26:30 +01:00

36 lines
722 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@v4.1.1
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v4.0.1
with:
node-version: 18.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@v2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}