Skip to content

Commit f5fbd00

Browse files
committed
revert changes to link PR checker
1 parent e235fd6 commit f5fbd00

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/link_checkPR.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ jobs:
1919
- name: Get Changed Files
2020
id: changed-files
2121
uses: tj-actions/changed-files@d6e91a2266cdb9d62096cebf1e8546899c6aa18f # v45.0.6
22-
with:
23-
files: |
24-
**/*.md
25-
**/*.html
26-
**/*.rst
27-
**/*.txt
2822

2923
- name: Check for Skip Label
3024
id: skip-label
@@ -39,7 +33,7 @@ jobs:
3933
return labels.data.some(label => label.name === 'skip-link-check');
4034
4135
- name: Check Links
42-
if: steps.skip-label.outputs.result == 'false' && steps.changed-files.outputs.any_changed == 'true'
36+
if: steps.skip-label.outputs.result == 'false'
4337
uses: lycheeverse/lychee-action@v1
4438
with:
4539
args: --accept=200,403,429 --base . --verbose --no-progress ${{ steps.changed-files.outputs.all_changed_files }}
@@ -49,10 +43,6 @@ jobs:
4943
- name: Skip Message
5044
if: steps.skip-label.outputs.result == 'true'
5145
run: echo "Link check was skipped due to the presence of the 'skip-link-check' label."
52-
53-
- name: No Files to Check
54-
if: steps.skip-label.outputs.result == 'false' && steps.changed-files.outputs.any_changed == 'false'
55-
run: echo "No relevant files were changed in this PR that require link checking."
5646

5747
- name: Suggestions
5848
if: failure()

0 commit comments

Comments
 (0)