aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check-links.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/check-links.yaml')
-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