Replace Cursor#observeChanges
calls with MongoDB change streams
#835
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci:commit-msg | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
commit-msg: | |
name: Continuous integration (commit-msg) | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install 💾 | |
uses: ./.github/actions/install | |
- name: Compute MERGE_BASE and HEAD_SHA 📜 | |
id: event | |
uses: ./.github/actions/github/event | |
- name: Lint commits 👕 | |
run: > | |
npm run check:commit-msg | |
-- | |
--from ${{ steps.event.outputs.merge-base }} | |
--to ${{ steps.event.outputs.head-sha }} | |
--verbose |