Skip to content

Commit b5c2f1b

Browse files
authored
Disable link-check-diff until it can be made safe (#2997)
1 parent 91c9ab3 commit b5c2f1b

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

.github/workflows/CI.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -88,37 +88,37 @@ jobs:
8888
run: |
8989
sphinx-build -D language=es -b html . _build/html
9090
91-
link-check-diff:
92-
# This job is sourced from https://github.com/aiven/devportal/blob/main/.github/workflows/linkcheck-changed-files.yaml
93-
# It is CC 4.0 I licensed: https://creativecommons.org/licenses/by/4.0/
94-
# Changes have been made.
95-
runs-on: ubuntu-22.04
96-
steps:
97-
- uses: actions/checkout@v4
98-
with:
99-
fetch-depth: 0
100-
- name: Get changed files
101-
id: changed-files
102-
uses: tj-actions/changed-files@v41
103-
- uses: actions/setup-python@v5
104-
with:
105-
python-version: 3.9
106-
- name: Install Dependencies
107-
run: pip install -r source/requirements.txt
108-
- name: Run linkcheck on .rst files
109-
run: |
110-
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
111-
if [ "${file: -4}" == ".rst" ]
112-
then
113-
var="$var $file"
114-
fi
115-
done
116-
if [ -z "$var" ]
117-
then
118-
echo "No *.rst changed files to check."
119-
else
120-
make BUILDER_ARGS="$var" linkcheck
121-
fi
91+
#link-check-diff:
92+
# # This job is sourced from https://github.com/aiven/devportal/blob/main/.github/workflows/linkcheck-changed-files.yaml
93+
# # It is CC 4.0 I licensed: https://creativecommons.org/licenses/by/4.0/
94+
# # Changes have been made.
95+
# runs-on: ubuntu-22.04
96+
# steps:
97+
# - uses: actions/checkout@v4
98+
# with:
99+
# fetch-depth: 0
100+
# - name: Get changed files
101+
# id: changed-files
102+
# uses: tj-actions/changed-files@v41
103+
# - uses: actions/setup-python@v5
104+
# with:
105+
# python-version: 3.9
106+
# - name: Install Dependencies
107+
# run: pip install -r source/requirements.txt
108+
# - name: Run linkcheck on .rst files
109+
# run: |
110+
# for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
111+
# if [ "${file: -4}" == ".rst" ]
112+
# then
113+
# var="$var $file"
114+
# fi
115+
# done
116+
# if [ -z "$var" ]
117+
# then
118+
# echo "No *.rst changed files to check."
119+
# else
120+
# make BUILDER_ARGS="$var" linkcheck
121+
# fi
122122

123123
check-linting:
124124
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)