name: "Docs / Links" # For more information, # see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows on: workflow_dispatch: schedule: - cron: "0 0 * * 0" # At 00:00 on Sunday jobs: linkChecker: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 with: persist-credentials: false fetch-depth: 0 - name: Link Checker id: lychee uses: lycheeverse/lychee-action@v1.4.1 with: args: --verbose --no-progress --exclude-mail './**/*.md' './**/*.rst' env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Create Issue From File if: ${{ steps.lychee.outputs.exit_code != 0 }} uses: peter-evans/create-issue-from-file@v4 with: title: Link Checker Report content-filepath: ./lychee/out.md labels: report, automated issue