From a8e56497f82e2b11da80a1f80fa1aebb7cc7e460 Mon Sep 17 00:00:00 2001 From: Sami Jaghouar Date: Tue, 15 Nov 2022 10:08:39 +0100 Subject: [PATCH] chore(ci): remove commint lint Signed-off-by: Sami Jaghouar --- .github/workflows/ci.yml | 46 +--------------------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 758c0f0dbee..802cb6fe60c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,50 +9,6 @@ on: types: [opened, synchronize] jobs: - commit-lint: - runs-on: ubuntu-latest - steps: - - name: find the prev warning if exist - uses: peter-evans/find-comment@v1 - id: fc - with: - issue-number: ${{ github.event.pull_request.number }} - comment-author: "github-actions[bot]" - body-includes: "bad commit message" - - name: Delete comment if exist - if: ${{ steps.fc.outputs.comment-id != 0 }} - uses: actions/github-script@v3 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - github.issues.deleteComment({ - owner: context.repo.owner, - repo: context.repo.repo, - comment_id: ${{ steps.fc.outputs.comment-id }}, - }) - - uses: actions/checkout@v2.5.0 - with: - fetch-depth: 0 - - run: 'echo "module.exports = {extends: [''@commitlint/config-conventional'']}" > commitlint.config.js' - - uses: wagoid/commitlint-github-action@v1 - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - name: if lint failed - if: ${{ failure() }} - uses: peter-evans/create-or-update-comment@v1 - with: - issue-number: ${{ github.event.pull_request.number }} - body: | - Thanks for your contribution :heart: - :broken_heart: Unfortunately, this PR has one ore more **bad commit messages**, it can not be merged. To fix this problem, please refer to: - - [Commit Message Guideline for the First Time Contributor](https://github.com/jina-ai/jina/issues/553) - - [Contributing Guideline](https://github.com/jina-ai/jina/blob/master/CONTRIBUTING.md) - - Note, other CI tests will *not* *start* until the commit messages get fixed. - - This message will be deleted automatically when the commit messages get fixed. - reaction-type: "eyes" - lint-ruff: runs-on: ubuntu-latest steps: @@ -179,7 +135,7 @@ jobs: # just for blocking the merge until all parallel core-test are successful success-all-test: - needs: [docarray-test, check-mypy, commit-lint] + needs: [docarray-test, check-mypy] if: always() runs-on: ubuntu-latest steps: