diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b9e03ab..05af574 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -65,24 +65,6 @@ jobs: PR_NUMBER: ${{ github.event.pull_request.number }} run: printf '%s (#%s)\n' "$PR_TITLE" "$PR_NUMBER" | npm run lint:commits - - name: Check pull request commit messages - if: github.event_name == 'pull_request' - env: - BASE_SHA: ${{ github.event.pull_request.base.sha }} - HEAD_SHA: ${{ github.event.pull_request.head.sha }} - run: npm run lint:commits -- --from "$BASE_SHA" --to "$HEAD_SHA" - - - name: Check pushed commit messages - if: github.event_name == 'push' && github.event.before != '0000000000000000000000000000000000000000' - env: - BASE_SHA: ${{ github.event.before }} - HEAD_SHA: ${{ github.sha }} - run: npm run lint:commits -- --from "$BASE_SHA" --to "$HEAD_SHA" - - - name: Check latest commit message - if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.event.before == '0000000000000000000000000000000000000000') - run: npm run lint:commits -- --last - - name: Public privacy checks run: python tools/check_private.py --all-files