Skip to content

Commit

Permalink
Create check-urls.yml (#498)
Browse files Browse the repository at this point in the history
* Create check-urls.yml

* Update check-urls.yml

* Update check-urls.yml

* fix link

* add ipynb
  • Loading branch information
nwlandry authored Dec 4, 2023
1 parent 15208bc commit 3b92c02
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/check-urls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check URLs

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: urls-checker
uses: urlstechie/urlchecker-action@master
with:
# A comma-separated list of file types to cover in the URL checks
file_types: .md,.py,.rst,ipynb

# Choose whether to include file with no URLs in the prints.
print_all: false

# The timeout seconds to provide to requests, defaults to 5 seconds
timeout: 5

# How many times to retry a failed request (each is logged, defaults to 1)
retry_count: 3

# choose if the force pass or not
force_pass : false
2 changes: 1 addition & 1 deletion long_description.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ a citation in your preferred format, and will also integrate well with citation

License
-------
Released under the 3-Clause BSD license (see the `license file <https://github.com/xgi-org/xgi/tree/main/license.md>`_)
Released under the 3-Clause BSD license (see the `license file <https://github.com/xgi-org/xgi/blob/main/LICENSE.md>`_)

Copyright (C) 2021-2023 XGI Developers

0 comments on commit 3b92c02

Please sign in to comment.