We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Validate PR Commits
1 parent 539968f commit 1038c3fCopy full SHA for 1038c3f
docs/guides-setup.md
@@ -101,13 +101,12 @@ jobs:
101
- uses: actions/checkout@v3
102
with:
103
fetch-depth: 0
104
- ref: ${{ github.head_ref }}
105
106
- uses: dart-lang/setup-dart@v1.3
107
108
- name: Get Dependencies
109
run: dart pub get
110
111
- name: Validate PR Commits
112
- run: dart run commitlint_cli --from="origin/${{ github.base_ref }}" --to="${{ github.head_ref }}"
+ run: VERBOSE=true dart run commitlint_cli --from=${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to=${{ github.event.pull_request.head.sha }} --config lib/commitlint.yaml
113
```
0 commit comments