Skip to content

feat: Support multiple --url Endpoints #1235

feat: Support multiple --url Endpoints

feat: Support multiple --url Endpoints #1235

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: "Pre-commit"
on:
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Fetch base commit
run: |
git remote add base "${{ github.event.pull_request.base.repo.clone_url }}"
git fetch --no-tags --depth=1 base ${{ github.event.pull_request.base.sha }}
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
make first-time-setup PYTHON_VERSION=3.10
- uses: pre-commit/action@v3.0.1
env:
SKIP: mkinit
with:
extra_args: >-
--from-ref ${{ github.event.pull_request.base.sha }}
--to-ref ${{ github.sha }}