diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml new file mode 100644 index 0000000000..3d9a8486db --- /dev/null +++ b/.github/workflows/lychee.yml @@ -0,0 +1,43 @@ +name: Lychee +on: [pull_request] + +jobs: + lychee: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/checkout@v4 + + - name: Lychee Link Checker + id: lychee + uses: lycheeverse/lychee-action@v2 + with: + fail: true + workingDirectory: "../../" + + - name: Create Issue From File + if: steps.lychee.outputs.exit_code != 0 + uses: peter-evans/create-issue-from-file@v5 + with: + title: Lychee Report + content-filepath: ./lychee/out.md + labels: report, automated issue +# name: Linkspector +# on: [pull_request] +# jobs: +# check-links: +# name: runner / linkspector +# runs-on: ubuntu-22.04 +# permissions: +# contents: write +# steps: +# - uses: actions/checkout@v4 +# - name: Run linkspector +# uses: umbrelladocs/action-linkspector@v1.3.7 +# with: +# github_token: ${{ secrets.github_token }} +# reporter: github-pr-check +# fail_on_error: true +# filter_mode: nofilter +# config_file: .github/workflows/config/.linkspector.yml