1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-08-17 09:00:30 +03:00

ci: check commit message format (#4010)

* ci: check commit message format

* ci: switch to PR title checking

* ci: target pull request checks to master
This commit is contained in:
Karl Hopkinson-Turrell 2022-09-06 10:26:33 +01:00 committed by GitHub
parent c28f69b276
commit fff0ce62d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

View File

@ -1,8 +1,33 @@
name: Test Pull Requests
on: [pull_request]
on:
pull_request:
branches:
- master
jobs:
check-pr-title:
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# https://www.notion.so/n8n/Release-Process-fce65faea3d5403a85210f7e7a60d0f8
types: |
feat
fix
perf
test
docs
refactor
build
ci
requireScope: false
build:
runs-on: ubuntu-latest
@ -27,3 +52,4 @@ jobs:
npm run lint
env:
CI: true

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ _START_PACKAGE
nodelinter.config.json
packages/*/package-lock.json
packages/*/.turbo
*.swp