aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check-links.yaml
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-27 07:49:56 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-27 07:49:56 -0800
commit6d59b5676c48e738f49e1bad94bbe4e438942750 (patch)
treeebcf17de14282d1c0f63c6312271b1d6e5e89f74 /.github/workflows/check-links.yaml
parentremove configuration file for treefmt (diff)
downloadfcuny.net-6d59b5676c48e738f49e1bad94bbe4e438942750.tar.gz
update some of the workflows
Diffstat (limited to '.github/workflows/check-links.yaml')
-rw-r--r--.github/workflows/check-links.yaml54
1 files changed, 0 insertions, 54 deletions
diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml
deleted file mode 100644
index 97ddc8a..0000000
--- a/.github/workflows/check-links.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-name: Check links
-
-"on":
- pull_request:
- branches: [main]
- paths:
- - "**.md"
- - .github/workflows/check-links.yaml
- - flake.lock
- push:
- branches: [main]
- paths:
- - "**.md"
- - .github/workflows/check-links.yaml
- - flake.lock
- schedule:
- # Run once a month on the 28th.
- - cron: "0 0 28 * *"
- workflow_dispatch:
-
-jobs:
- lychee:
- runs-on: ubuntu-latest
- permissions:
- issues: write
- steps:
- - uses: actions/checkout@v4
- - uses: DeterminateSystems/nix-installer-action@v16
- - uses: DeterminateSystems/magic-nix-cache-action@v8
- - name: Build the site
- run: nix build --print-build-logs
- - name: Restore lychee cache
- uses: actions/cache/restore@v4
- with:
- path: .lycheecache
- key: lychee-cache
- - name: Check links
- id: lychee
- uses: lycheeverse/lychee-action@v2
- with:
- fail: false
- - name: Save lychee cache
- uses: actions/cache/save@v4
- if: always()
- with:
- key: lychee-cache
- path: .lycheecache
- - name: Create issue
- if: steps.lychee.outputs.exit_code != 0
- uses: peter-evans/create-issue-from-file@v5
- with:
- title: "[lychee] Broken links"
- content-filepath: ./lychee/out.md
- labels: bug, automated issue