From f0be7c74198002586393d40376f0cfeb9806ce25 Mon Sep 17 00:00:00 2001 From: Alex Dewar Date: Mon, 20 Jan 2025 10:59:17 +0000 Subject: [PATCH 1/4] Switch markdown-link-checker for linkspector --- .github/workflows/check-links.yml | 9 ++++++--- mlc_config.json | 21 --------------------- 2 files changed, 6 insertions(+), 24 deletions(-) delete mode 100644 mlc_config.json diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index b7968ed..867ed62 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -6,10 +6,13 @@ on: jobs: check-links: + name: Linkspector runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: gaurav-nelson/github-action-markdown-link-check@v1 + - name: Run linkspector + uses: umbrelladocs/action-linkspector@v1 with: - use-quiet-mode: "yes" - use-verbose-mode: "yes" + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + fail_on_error: true diff --git a/mlc_config.json b/mlc_config.json deleted file mode 100644 index c8b9c97..0000000 --- a/mlc_config.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "ignorePatterns": [ - { - "pattern": "^https?://www.turing.ac.uk/.*" - }, - { - "pattern": "^https?://sqlitebrowser.org/.*" - }, - { - "pattern": "^https?://clockify.me/.*" - } - ], - "timeout": "180s", - "retryOn429": true, - "retryCount": 5, - "fallbackRetryDelay": "30s", - "aliveStatusCodes": [ - 200, - 206 - ] - } From 621146a116ecb5c926a569e8a75a36de9975f8f9 Mon Sep 17 00:00:00 2001 From: Alex Dewar Date: Mon, 20 Jan 2025 11:14:57 +0000 Subject: [PATCH 2/4] Fix: Downgrade version of Ubuntu used for linkspector workflow --- .github/workflows/check-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 867ed62..9e015cf 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -7,7 +7,7 @@ on: jobs: check-links: name: Linkspector - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Run linkspector From 2604c8c37b0ca706effe50ed84ef1d17e26c82b9 Mon Sep 17 00:00:00 2001 From: Alex Dewar Date: Mon, 20 Jan 2025 11:26:57 +0000 Subject: [PATCH 3/4] Remove markdown-link-check annotations --- README.md | 1 - docs/posts/20240722_pydata_london_2024.md | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2391b81..05b1308 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ This repository contains blogs by the [central RSE team](https://www.imperial.ac ### Adding your blog - - Create a `.md` file for your blog in the `docs/posts` folder and add the blog content to it. You can use the [HackMD template for writing (collaborative) blogs](https://hackmd.io/@SaranjeetKaur/H17O8IzcC/edit). To edit the template, please sign in with, say, GitHub. This template is inspired from [Collaborations Workshop 2024](https://www.software.ac.uk/workshop/collaborations-workshop-2024-cw24)'s blog template. The template is a guide to writing the blog and may be modified as suitable. After the blog is done, please make sure to clean up any non-essential template contents except for the actual blog contents. - The file name should start with the publication date without spaces or dashes to facilitate finding the posts in the file structure, for example `20240722_post_name.md` for the example below. - Any images should be added to `docs/posts/images/`. diff --git a/docs/posts/20240722_pydata_london_2024.md b/docs/posts/20240722_pydata_london_2024.md index 0523cf8..f270909 100644 --- a/docs/posts/20240722_pydata_london_2024.md +++ b/docs/posts/20240722_pydata_london_2024.md @@ -28,9 +28,9 @@ With Artificial Intelligence, in particular Large Language Models (LLMs) being a ![Keynote by Tania Allard at PyData London 2024](images/pydata_london_2024/tania_keynote.png) A few talks and sessions at PyData touched on Open Source Software. Tania Allard presented a [keynote](https://www.youtube.com/watch?v=9AuuhrQDv0E&list=PLGVZCDnMOq0rrhYTNedKKuJ9716fEaAdK&index=29) on “[The art of building and sustaining successful OSS tools and infrastructure](https://speakerdeck.com/trallard/2024-pydata-lndn)” discussing factors that contribute to an open-source project’s success and sustainability. She also touched upon how to empower developers, users, and maintainers in a sustainable way and not at the expense of the open-source ecosystem. - + Cheuk Ting Ho led an interesting unconference style discussion on “How to define open source AI”. The participants of the unconference were asked to walk through the open source initiative’s conversation [explaining the concept of data information](https://discuss.opensource.org/t/explaining-the-concept-of-data-information/401) and they were asked to put their opinions and questions on it. It was a healthy discussion on Data Information as defined in the draft [Open Source AI](https://opensource.org/blog/open-source-ai-definition-weekly-update-june-17) definition: “Sufficiently detailed information about the data used to train the system, so that a skilled person can recreate a substantially equivalent system using the same or similar data.” - + There was also another lightning talk presented on [open source science](https://www.opensource.science/), a NumFOCUS initiative connecting scientists and OSS developers. ![Deb Nicholson’s talk at PyData London 2024](images/pydata_london_2024/deb_open_source_leadership.png) From 1ce77ab2d39482ae93b6d6f61d66b4c136978ae7 Mon Sep 17 00:00:00 2001 From: Alex Dewar Date: Tue, 28 Jan 2025 09:08:04 +0000 Subject: [PATCH 4/4] Remove deprecated `fail_on_error` option --- .github/workflows/check-links.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 9e015cf..5d97600 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -15,4 +15,3 @@ jobs: with: github_token: ${{ secrets.github_token }} reporter: github-pr-review - fail_on_error: true