From 27f37091c8288bdcd2b42edef67a10e9bdb90729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Thu, 2 Nov 2023 09:27:46 +0100 Subject: [PATCH] ci: Remove PR checklist action (no-changelog) (#7577) https://linear.app/n8n/issue/PAY-961 --- .github/workflows/checklist.yml | 22 --------------- CHECKLIST.yml | 50 --------------------------------- 2 files changed, 72 deletions(-) delete mode 100644 .github/workflows/checklist.yml delete mode 100644 CHECKLIST.yml diff --git a/.github/workflows/checklist.yml b/.github/workflows/checklist.yml deleted file mode 100644 index 6262918456..0000000000 --- a/.github/workflows/checklist.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: PR Checklist - -on: - pull_request_target: - types: - - opened - - synchronize - branches: - - master - -jobs: - checklist_job: - runs-on: ubuntu-latest - name: Checklist job - steps: - - name: Checkout - uses: actions/checkout@v3.5.3 - - name: Checklist - uses: wyozi/contextual-qa-checklist-action@master - with: - gh-token: ${{ secrets.GITHUB_TOKEN }} - comment-footer: Make sure to check off this list before asking for review. diff --git a/CHECKLIST.yml b/CHECKLIST.yml deleted file mode 100644 index a1c3fa8407..0000000000 --- a/CHECKLIST.yml +++ /dev/null @@ -1,50 +0,0 @@ -paths: - 'packages/**': - - If fixing bug, added test to cover scenario. - - If addressing forum or Github issue, added link to description. - 'packages/**/*.ts': - - Added unit tests to cover new or updated functionality. - '**/*.vue': - - Used composition API for all new components. - - Added component or unit tests to cover functionality. - - # cli - 'packages/cli/src/databases/migrations/**': - - Requested review from at least two engineers on migration. - - Avoided irreversible data migrations. - - Avoided deleting or updating data keys. - - Wrote 'down' migration if possible. - 'n8n/packages/cli/src/api/**': - - Added integration tests for new endpoints. - - # editor ui - 'packages/editor-ui/**/*.vue': - - Added E2E if adding new features. - - Used design system tokens (colors, spacings...) where possible. - 'packages/editor-ui/src/mixins/restApi.ts': - - Avoided adding new methods. Only deleted from here. - 'packages/editor-ui/src/mixins/**': - - Avoided adding new mixins (use composables instead). Only removed code from here. - 'packages/editor-ui/src/views/NodeView.vue': - - Avoided adding code here. Only refactored to make it smaller. - 'packages/editor-ui/src/hooks/**': - - Avoided adding new hooks. Only refactored to move hooks to relevant store instead. - - # nodes-base - 'packages/nodes-base/nodes/**': - - Added workflow tests for nodes if possible. - 'packages/nodes-base/package.json': - - Avoided adding dependencies for nodes if not absolutely necessary. - - # design-system - 'packages/design-system/**/*.vue': - - Used design system tokens (colors, spacings...) where possible. - - Updated Storybook with new component or updated functionality. - - # e2e - 'cypress/e2e/**': - - Avoided chaining commands more than two or three times (to avoid flakiness because only last one will be retried). - - Spoofed endpoints that are not critical for the test (to avoid flakiness). - - Picked most efficient path to start the test (for example skipped account setup and starting at /workflow/new for a canvas test). - - Avoided adding waits on time (use request intercepts instead). - - Ensured each spec does not depend on any another spec to pass.