[pull] main from nextcloud:main #1425
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: Conventional commits | |
on: | |
pull_request: | |
jobs: | |
conventional-commits: | |
name: Conventional commits | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dart | |
uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 # v1 | |
with: | |
sdk: 3.5 | |
- name: Install commitlint_cli | |
run: dart pub get | |
- name: Lint conventional commits | |
run: dart run commitlint_cli --from=${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to=${{ github.event.pull_request.head.sha }} |