mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
ci: PR title/description change should not re-trigger the build-lint-test workflow (#4100)
This commit is contained in:
parent
43c9f019bd
commit
fd9b5f6b2b
32
.github/workflows/check-pr-title.yml
vendored
Normal file
32
.github/workflows/check-pr-title.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
name: Test Pull Request Semantics
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-pr-title:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
checks: write
|
||||||
|
pull-requests: read
|
||||||
|
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
|
33
.github/workflows/ci-pull-requests.yml
vendored
33
.github/workflows/ci-pull-requests.yml
vendored
|
@ -1,38 +1,8 @@
|
||||||
name: Test Pull Requests
|
name: Test Pull Requests
|
||||||
|
|
||||||
on:
|
on: [pull_request]
|
||||||
pull_request:
|
|
||||||
types:
|
|
||||||
- opened
|
|
||||||
- edited
|
|
||||||
- synchronize
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-pr-title:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
checks: write
|
|
||||||
pull-requests: read
|
|
||||||
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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -57,4 +27,3 @@ jobs:
|
||||||
npm run lint
|
npm run lint
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue