Skip to content

Version check : Add new GitHub Action to check target PR branches #3872

Version check : Add new GitHub Action to check target PR branches

Version check : Add new GitHub Action to check target PR branches #3872

Workflow file for this run

name: Whitespace check
on: [ pull_request ]
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
# So that we get the branch for `base_ref`.
fetch-depth: 0
- name: Check whitespace
run: |
git -c core.whitespace=indent-with-non-tab,tabwidth=1 diff --check refs/remotes/origin/${{ github.base_ref }} include src python