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 064eff4 commit 365b22cCopy full SHA for 365b22c
.github/workflows/_link_check.yml
@@ -16,7 +16,10 @@ jobs:
16
ref: ${{ inputs.ref }}
17
timeout: 90
18
script: |
19
- ./scripts/lint_urls.sh
+ ./scripts/lint_urls.sh $(
20
+ [ "${{ github.event_name }}" = "pull_request" ] \
21
+ && git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}
22
+ )
23
24
lint-xrefs:
25
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
@@ -28,4 +31,7 @@ jobs:
28
31
29
32
30
33
- ./scripts/lint_xrefs.sh
34
+ ./scripts/lint_xrefs.sh $(
35
36
37
0 commit comments