From 0770664d829d04bb247acdf18c28107fd08c134b Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Sun, 3 Dec 2023 10:22:53 -0500 Subject: [PATCH 1/5] Create check-urls.yml --- .github/workflows/check-urls.yml | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) 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..fd143e7b8 --- /dev/null +++ b/.github/workflows/check-urls.yml @@ -0,0 +1,36 @@ +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 subfolder or path to navigate to in the present or cloned repository + subfolder: docs + + # A comma-separated list of file types to cover in the URL checks + file_types: .md,.py,.rst + + # 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 + + # A comma separated links to exclude during URL checks + exclude_urls: https://github.com/SuperKogito/URLs-checker/issues/1,https://github.com/SuperKogito/URLs-checker/issues/2 + + # A comma separated patterns to exclude during URL checks + exclude_patterns: https://github.com/SuperKogito/Voice-based-gender-recognition/issues + + # choose if the force pass or not + force_pass : true \ No newline at end of file From 998484fcbbe635d3b0cd269d7a5b2ad8ea3f91d2 Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Sun, 3 Dec 2023 10:25:32 -0500 Subject: [PATCH 2/5] Update check-urls.yml --- .github/workflows/check-urls.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/check-urls.yml b/.github/workflows/check-urls.yml index fd143e7b8..c293b1144 100644 --- a/.github/workflows/check-urls.yml +++ b/.github/workflows/check-urls.yml @@ -12,7 +12,7 @@ jobs: uses: urlstechie/urlchecker-action@master with: # A subfolder or path to navigate to in the present or cloned repository - subfolder: docs + subfolder: docs, xgi # A comma-separated list of file types to cover in the URL checks file_types: .md,.py,.rst @@ -26,11 +26,5 @@ jobs: # How many times to retry a failed request (each is logged, defaults to 1) retry_count: 3 - # A comma separated links to exclude during URL checks - exclude_urls: https://github.com/SuperKogito/URLs-checker/issues/1,https://github.com/SuperKogito/URLs-checker/issues/2 - - # A comma separated patterns to exclude during URL checks - exclude_patterns: https://github.com/SuperKogito/Voice-based-gender-recognition/issues - # choose if the force pass or not force_pass : true \ No newline at end of file From 246a11484e9f95a97af9e1a6bd04af5b2bcaabe5 Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Sun, 3 Dec 2023 10:29:34 -0500 Subject: [PATCH 3/5] Update check-urls.yml --- .github/workflows/check-urls.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/check-urls.yml b/.github/workflows/check-urls.yml index c293b1144..f40b6fd40 100644 --- a/.github/workflows/check-urls.yml +++ b/.github/workflows/check-urls.yml @@ -11,9 +11,6 @@ jobs: - name: urls-checker uses: urlstechie/urlchecker-action@master with: - # A subfolder or path to navigate to in the present or cloned repository - subfolder: docs, xgi - # A comma-separated list of file types to cover in the URL checks file_types: .md,.py,.rst @@ -27,4 +24,4 @@ jobs: retry_count: 3 # choose if the force pass or not - force_pass : true \ No newline at end of file + force_pass : false \ No newline at end of file From e12c79b28dce8f87721208089a5e02fddc4fbaa2 Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Sun, 3 Dec 2023 10:35:19 -0500 Subject: [PATCH 4/5] fix link --- long_description.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From e06e2e36f9441ff352228f707dfbedfa83262fe3 Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Mon, 4 Dec 2023 13:25:08 -0500 Subject: [PATCH 5/5] add ipynb --- .github/workflows/check-urls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-urls.yml b/.github/workflows/check-urls.yml index f40b6fd40..d8eeeba06 100644 --- a/.github/workflows/check-urls.yml +++ b/.github/workflows/check-urls.yml @@ -12,7 +12,7 @@ jobs: uses: urlstechie/urlchecker-action@master with: # A comma-separated list of file types to cover in the URL checks - file_types: .md,.py,.rst + file_types: .md,.py,.rst,ipynb # Choose whether to include file with no URLs in the prints. print_all: false