mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08: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:
parent
c28f69b276
commit
fff0ce62d3
28
.github/workflows/ci-pull-requests.yml
vendored
28
.github/workflows/ci-pull-requests.yml
vendored
|
@ -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
1
.gitignore
vendored
|
@ -15,3 +15,4 @@ _START_PACKAGE
|
|||
nodelinter.config.json
|
||||
packages/*/package-lock.json
|
||||
packages/*/.turbo
|
||||
*.swp
|
||||
|
|
Loading…
Reference in a new issue