mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-26 18:49:39 +08:00
30 lines
875 B
YAML
30 lines
875 B
YAML
name: BC Lint
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- labeled
|
|
- unlabeled
|
|
|
|
jobs:
|
|
bc_lint:
|
|
if: github.repository_owner == 'vllm-project'
|
|
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 }}
|
|
suppression: ${{ contains(github.event.pull_request.labels.*.name, 'suppress-bc-linter') }}
|
|
docs_link: 'https://github.com/pytorch/test-infra/wiki/BC-Linter'
|
|
config_dir: .github
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
|
cancel-in-progress: true
|