diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5ace460 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/broken-links.yml b/.github/workflows/broken-links.yml new file mode 100644 index 0000000..01b5f5d --- /dev/null +++ b/.github/workflows/broken-links.yml @@ -0,0 +1,28 @@ +name: Broken-Links + +on: + workflow_dispatch: + schedule: + - cron: "11 11 * * 0" # once a week at 11:11 UTC on Sunday, avoid rush hours + +jobs: + linkChecker: + runs-on: ubuntu-latest + permissions: + issues: write # required for peter-evans/create-issue-from-file + steps: + - uses: actions/checkout@v4 + + - name: Link Checker + id: lychee + uses: lycheeverse/lychee-action@v2 + with: + fail: false + output: ./lychee/out.md + - name: Create Issue From File + if: steps.lychee.outputs.exit_code != 0 + uses: peter-evans/create-issue-from-file@v5 + with: + title: Link Checker Report + content-filepath: ./lychee/out.md + labels: dead-link diff --git a/.lycheeignore b/.lycheeignore new file mode 100644 index 0000000..afabd02 --- /dev/null +++ b/.lycheeignore @@ -0,0 +1,2 @@ +# remove badgen as it seems to block lychee user agent/github actions requests +https://badgen.net/ \ No newline at end of file