We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10eb24c commit 6a602e1Copy full SHA for 6a602e1
.github/workflows/bc-lint.yml
@@ -0,0 +1,26 @@
1
+name: BC Lint
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - synchronize
8
+ - reopened
9
+ # branches-ignore:
10
+ # - <branches to ignore bc-linter>
11
12
+jobs:
13
+ bc_lint:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v3
18
19
+ - name: Run BC Lint Action
20
+ uses: pytorch/test-infra/.github/actions/bc-lint@main
21
+ with:
22
+ repo: ${{ github.event.pull_request.head.repo.full_name }}
23
+ base_sha: ${{ github.event.pull_request.base.sha }}
24
+ head_sha: ${{ github.event.pull_request.head.sha }}
25
+ suppression: ${{ contains(github.event.pull_request.labels.*.name, 'suppress-bc-linter') }}
26
+ docs_link: 'https://github.com/pytorch/test-infra/wiki/BC-Linter'
0 commit comments