diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index af143a093c2..9b4d76e4347 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -24,8 +24,6 @@ on: repository_dispatch: workflow_dispatch: pull_request: - schedule: - - cron: '7 1 * * 0' # At 01:07 on Sunday. jobs: check-links: @@ -42,21 +40,3 @@ jobs: with: args: --config lychee.toml . fail: false - - - name: Broken Links Report - if: steps.lychee.outputs.exit_code != 0 && github.event_name == 'schedule' - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 - with: - script: | - const fs = require('fs'); - - // Read the markdown file - // Ensure the path is correct relative to the workspace root - const reportBody = fs.readFileSync('./lychee/out.md', 'utf8'); - - await github.rest.issues.create({ - owner: context.repo.owner, - repo: context.repo.repo, - title: 'Broken Links Report', - body: reportBody - });