Unverified Commit 078959f5 authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Add BC linter (#7569)


Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
parent d310ce64
...@@ -96,3 +96,14 @@ jobs: ...@@ -96,3 +96,14 @@ jobs:
echo '::group::Lint Python types' echo '::group::Lint Python types'
mypy --install-types --non-interactive --config-file mypy.ini mypy --install-types --non-interactive --config-file mypy.ini
echo '::endgroup::' echo '::endgroup::'
bc:
if: github.event.pull_request
runs-on: ubuntu-latest
steps:
- name: Run BC Lint Action
uses: pytorch/test-infra/.github/actions/bc-lint@main
with:
repo: ${{ github.event.pull_request.head.repo.full_name }}
base_sha: ${{ github.event.pull_request.base.sha }}
head_sha: ${{ github.event.pull_request.head.sha }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment