mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
ci: introduce stricter PR title checks (#4363)
⚡ Switch to `validate-n8n-pull-request-title`
This commit is contained in:
parent
6d25eed050
commit
2f87b9fbf6
26
.github/workflows/check-pr-title.yml
vendored
26
.github/workflows/check-pr-title.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Test Pull Request Semantics
|
name: Check PR title
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
@ -10,23 +10,13 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
check-pr-title:
|
check-pr-title:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
timeout-minutes: 5
|
||||||
checks: write
|
|
||||||
pull-requests: read
|
|
||||||
contents: read
|
|
||||||
steps:
|
steps:
|
||||||
- uses: amannn/action-semantic-pull-request@v4
|
- name: Check out branch
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Validate PR title
|
||||||
|
id: validate_pr_title
|
||||||
|
uses: ivov/validate-n8n-pull-request-title@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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
|
|
||||||
|
|
Loading…
Reference in a new issue