From 3b92c02a9852379327c368fc636b7e4cb8e0388a Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Mon, 4 Dec 2023 13:53:11 -0500 Subject: [PATCH] Create check-urls.yml (#498) * Create check-urls.yml * Update check-urls.yml * Update check-urls.yml * fix link * add ipynb --- .github/workflows/check-urls.yml | 27 +++++++++++++++++++++++++++ long_description.rst | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/check-urls.yml diff --git a/.github/workflows/check-urls.yml b/.github/workflows/check-urls.yml new file mode 100644 index 000000000..d8eeeba06 --- /dev/null +++ b/.github/workflows/check-urls.yml @@ -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 \ No newline at end of file diff --git a/long_description.rst b/long_description.rst index 09ea79c2c..4410fef7c 100644 --- a/long_description.rst +++ b/long_description.rst @@ -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 `_) +Released under the 3-Clause BSD license (see the `license file `_) Copyright (C) 2021-2023 XGI Developers \ No newline at end of file