Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down