From 253e763b78ad979205d83fe3acab446ba93c26b3 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 26 Dec 2024 19:18:27 -0800 Subject: update action for checking links --- .github/workflows/check-links.yaml | 22 +++++++++++++++++----- 1 file 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 -- cgit v1.2.3