n8n/.github/workflows/check-pr-title.yml
कारतोफ्फेलस्क्रिप्ट™ 18b6867785
ci: Update corepack before enabling it (no-changelog) (#13004)
2025-02-03 11:16:18 +01:00

37 lines
754 B
YAML

name: Check PR title
on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- 'master'
jobs:
check-pr-title:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out branch
uses: actions/checkout@v4.1.1
- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
- name: Setup corepack and pnpm
run: |
npm i -g corepack@0.31
corepack enable
- 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.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}