mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
ci: revert stricter PR title checks (no-changelog) (#4327)
Revert "ci: enforce stricter PR title checking (#4301)"
This reverts commit 6d62471a11
.
This commit is contained in:
parent
9a06c6df25
commit
fe7c8a85ce
41
.github/workflows/check-pr-title.yml
vendored
41
.github/workflows/check-pr-title.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Check PR title
|
name: Test Pull Request Semantics
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
@ -10,30 +10,23 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
check-pr-title:
|
check-pr-title:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
permissions:
|
||||||
|
checks: write
|
||||||
|
pull-requests: read
|
||||||
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Validate PR title
|
- uses: amannn/action-semantic-pull-request@v4
|
||||||
id: validate_pr_title
|
|
||||||
uses: ivov/validate-n8n-pull-request-title@v1
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Post validation issue comment
|
|
||||||
uses: marocchino/sticky-pull-request-comment@v2
|
|
||||||
if: always()
|
|
||||||
with:
|
with:
|
||||||
header: pr_title_failed_validation
|
# https://www.notion.so/n8n/Release-Process-fce65faea3d5403a85210f7e7a60d0f8
|
||||||
message: |
|
types: |
|
||||||
Thank you for your contribution!
|
feat
|
||||||
PR titles in this repo follow our version of the Conventional Commits spec.
|
fix
|
||||||
This allows us to automatically generate the changelog for the next release.
|
perf
|
||||||
Therefore, we ask you to adjust your PR title to solve the issue(s) below:
|
test
|
||||||
|
docs
|
||||||
${{ steps.validate_pr_title.outputs.validation_issues }}
|
refactor
|
||||||
|
build
|
||||||
- name: Remove validation issue comment
|
ci
|
||||||
if: ${{ steps.validate_pr_title.outputs.validation_issues == null }}
|
requireScope: false
|
||||||
uses: marocchino/sticky-pull-request-comment@v2
|
|
||||||
with:
|
|
||||||
header: pr_title_failed_validation
|
|
||||||
delete: true
|
|
||||||
|
|
Loading…
Reference in a new issue