⬆️ deps: Upgrade dependency rate-limiter-flexible to v5. #608
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: Lint last pushed commit 👕 | |
if: github.event_name == 'push' | |
run: | | |
npm run check:commit-msg -- --last --verbose | |
- name: Lint PR commits 👕 | |
if: github.event_name == 'pull_request' | |
run: | | |
npm run check:commit-msg -- --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
- name: Lint merge group commits 👕 | |
if: github.event_name == 'merge_group' | |
run: | | |
npm run check:commit-msg -- --from ${{ github.event.merge_group.base_sha }} --to ${{ github.event.merge_group.head_sha }} --verbose |