aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-26 19:18:27 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-26 19:18:27 -0800
commit253e763b78ad979205d83fe3acab446ba93c26b3 (patch)
tree7e7d5f80c6375d7d4fe3baf7688aefda7ed30ada /.github
parentsort pages by date (diff)
downloadfcuny.net-253e763b78ad979205d83fe3acab446ba93c26b3.tar.gz
update action for checking links
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check-links.yaml22
1 files changed, 17 insertions, 5 deletions
diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml
index 279c312..97ddc8a 100644
--- a/.github/workflows/check-links.yaml
+++ b/.github/workflows/check-links.yaml
@@ -1,11 +1,23 @@
name: Check links
-on:
+
+"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:
- - cron: "30 6 * * 0"
+ # Run once a month on the 28th.
+ - cron: "0 0 28 * *"
workflow_dispatch:
- pull_request:
- branches:
- - main
+
jobs:
lychee:
runs-on: ubuntu-latest