1
0
Fork 0
libnvme/.github/workflows/checkpatch.yml
Daniel Baumann 67e5308a54
Merging upstream version 1.8.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-16 10:45:43 +01:00

15 lines
465 B
YAML

name: checkpatch review
on: [pull_request]
jobs:
checkpatch:
name: checkpatch review
runs-on: ubuntu-latest
steps:
- name: 'Calculate PR commits + 1'
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Run checkpatch review
uses: webispy/checkpatch-action@v9