picom/.github/workflows/coding-style-pr.yml

14 lines
317 B
YAML

name: coding-style
on: pull_request
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --depth=1 origin ${{ github.event.pull_request.base.sha }}
- uses: yshui/git-clang-format-lint@v1.14
with:
base: ${{ github.event.pull_request.base.sha }}