-
Notifications
You must be signed in to change notification settings - Fork 300
Run linkchecks regularly, instead of on PRs #6386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
21e230f
Add lychee-based linkcheck workflow.
pp-mo a7fc60c
Remove old nox-based per-PR linkcheck.
pp-mo 4004757
Remove nox-linkcheck from python-version-checks test.
pp-mo b6feddc
Configure manifest to exclude the linkcheck ignores file.
pp-mo d1c23b5
Update .github/workflows/ci-linkchecks.yml
pp-mo ddf8d76
Update .github/workflows/ci-linkchecks.yml
pp-mo 178bf9e
Add links badge to README.
pp-mo 62cfabc
Test urls in all files python, exclude or replace failing urls in pyt…
pp-mo 1da5538
Run checks every day, including weekends.
pp-mo 94f54f3
Apply Iris-friendly labels to linkcheck failure Issues.
pp-mo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
trexfeathers marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: Linkcheck | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: "00 06 * * *" | ||
|
|
||
| jobs: | ||
| linkChecker: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| issues: write # required for peter-evans/create-issue-from-file | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Link Checker | ||
| id: lychee | ||
| uses: lycheeverse/lychee-action@f613c4a64e50d792e0b31ec34bbcbba12263c6a6 | ||
| with: | ||
| fail: false | ||
| args: "--verbose './docs/**/*.rst' './docs/**/*.inc' './lib/**/*.py'" | ||
|
|
||
| - name: Create Issue From File | ||
| if: steps.lychee.outputs.exit_code != 0 | ||
| uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd | ||
| with: | ||
| title: Link Checker Report | ||
| content-filepath: ./lychee/out.md | ||
| labels: "Bot, Type: Documentation, Type: Bug" | ||
|
|
||
| - name: Fail Workflow On Link Errors | ||
| if: steps.lychee.outputs.exit_code != 0 | ||
| run: | ||
| exit {{ steps.lychee.outputs.exit_code }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| # nonfunctional, found in some code examples | ||
| file:/// | ||
|
|
||
| # DEAD : legacy in various old whatsnews | ||
| https://biggus.readthedocs.io | ||
|
|
||
| # unkown problem, works in browser : used in further_topics/ugrid/data_model | ||
| https://doi.org/10.3390/jmse2010194 | ||
|
|
||
| # DEAD, todo:remove, used in docs/src/userguide/plotting_a_cube.rst | ||
| https://effbot.org | ||
|
|
||
| # nonfunctional, found in some code examples | ||
| https://foo/ | ||
|
|
||
| # DEAD, todo:remove, used in docs/src/further_topics/ugrid/data_model.rst | ||
| https://ibm-design-language.eu-de.mybluemix.net/design/language/resources/color-library | ||
|
|
||
| # DEAD, legacy in whatsnew/1.4.rst | ||
| https://geoport.whoi.edu/thredds/dodsC/bathy/gom15 | ||
|
|
||
| # exist, but bad certificates | ||
| https://georepository.com | ||
| https://geoport.whoi.edu:80/thredds/ | ||
|
|
||
| # catch (at least) github userids, of which many in whatsnews, too many --> "too many requests" failures | ||
| https://github.com/[^/]*$ | ||
|
|
||
| # nonfunctional example, used in docs/src/developers_guide/gitwash/development_workflow.rst | ||
| https://github.com/your-user-name/iris | ||
|
|
||
| # problem with bad certificate (review sometime?) | ||
| https://scitools.github.com/cartopy | ||
|
|
||
| # legacy ref in whatsnew/3.0.rst | ||
| https://stickler-ci.com | ||
|
|
||
| # DEAD, todo:remove, used in lib/iris/symbols.py | ||
| https://www.wmo.int/pages/prog/www/DPFS/documents/485_Vol_I_en_colour.pdf | ||
|
|
||
| # DEAD, todo:remove, used in docs/src/userguide/plotting_a_cube.rst | ||
| # unkown problem, works in browser : used in docs/src/index.rst | ||
| https://www.flaticon.com | ||
|
|
||
| # nonfunctional example, used in lib/iris/io/__init__.py | ||
| https://www.thing.com | ||
|
|
||
| # DEAD, todo:remove, used in docs/src/userguide/plotting_a_cube.rst | ||
| https://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_updates.html | ||
|
|
||
| # nonfunctional, found in some code examples | ||
| https://www.somehost.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.