media: ipu7: isys: enable C-PHY port A+B aggregation #44
Workflow file for this run
This file contains hidden or 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: checkpatch review | |
| on: [pull_request] | |
| permissions: read-all | |
| jobs: | |
| my_review: | |
| name: checkpatch review | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: 'Calculate PR commits + 1' | |
| run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: ${{ env.PR_FETCH_DEPTH }} | |
| - name: Download latest checkpatch.pl from kernel tree | |
| run: | | |
| curl -sSL https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl \ | |
| -o $GITHUB_WORKSPACE/checkpatch.pl | |
| curl -sSL https://raw.githubusercontent.com/torvalds/linux/master/scripts/spelling.txt \ | |
| -o $GITHUB_WORKSPACE/spelling.txt | |
| chmod +x $GITHUB_WORKSPACE/checkpatch.pl | |
| - name: Run checkpatch review | |
| uses: webispy/checkpatch-action@58374fe5bb03358b23d3d6871e2ff290ce77fcd2 # v9 | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| CHECKPATCH_COMMAND: ./checkpatch.pl --no-tree |