diff --git a/.github/workflows/ci-pull-requests.yml b/.github/workflows/ci-pull-requests.yml index 92d62c7f6f..c85f711a9a 100644 --- a/.github/workflows/ci-pull-requests.yml +++ b/.github/workflows/ci-pull-requests.yml @@ -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 + diff --git a/.gitignore b/.gitignore index 61b0358a67..6b80329bc6 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ _START_PACKAGE nodelinter.config.json packages/*/package-lock.json packages/*/.turbo +*.swp