From ae7b351a32919d6741096ef0565eea830c51f5b1 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sun, 3 Dec 2023 16:53:31 +0100 Subject: [PATCH] Delete URL check workflow --- .github/workflows/check-link-rot.yaml | 43 --------------------------- NEWS.md | 2 +- 2 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 .github/workflows/check-link-rot.yaml diff --git a/.github/workflows/check-link-rot.yaml b/.github/workflows/check-link-rot.yaml deleted file mode 100644 index 3d977b694..000000000 --- a/.github/workflows/check-link-rot.yaml +++ /dev/null @@ -1,43 +0,0 @@ -on: - pull_request: - branches: [main, master] - schedule: - # * is a special character in YAML so you have to quote this string - # Trigger once a month at 00:00 on the 1st day of the month. - - cron: "0 0 1 * *" - -name: check-link-rot - -jobs: - check-link-rot: - runs-on: ubuntu-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - R_KEEP_PKG_SOURCE: yes - steps: - - uses: actions/checkout@v4 - - - uses: r-lib/actions/setup-pandoc@v2 - - - uses: r-lib/actions/setup-r@v2 - with: - r-version: "devel" - http-user-agent: "release" - use-public-rspm: true - - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - pak-version: devel - extra-packages: | - any::rcmdcheck - any::urlchecker - - - name: Run URL checker - run: | - options(crayon.enabled = TRUE) - rotten_links <- urlchecker::url_check(progress = FALSE) - print(rotten_links) - if (length(rotten_links$URL) > 0L) { - stop("Some URLs are outdated and need to be updated.", call. = FALSE) - } - shell: Rscript {0} diff --git a/NEWS.md b/NEWS.md index d189fd61f..9e715f3d4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -161,7 +161,7 @@ A big shout out to anyone who contributed to this release: This release was requested by CRAN to resolve an R CMD Check note (#1044). A big hand to everyone who made this release possible: -[@DaveJarvis](https://github.com/DaveJarvis), +Dave Jarvis, [@IndrajeetPatil](https://github.com/IndrajeetPatil), [@lorenzwalthert](https://github.com/lorenzwalthert), [@MichaelChirico](https://github.com/MichaelChirico),