Skip to content

Housekeeping

Housekeeping #85

Workflow file for this run

name: Housekeeping
on:
# Run daily at 7:00
schedule:
- cron: '0 7 * * *'
workflow_dispatch:
# for security reasons the github actions are pinned to specific release versions
jobs:
chores:
name: Tidy workflows
runs-on: ubuntu-22.04
permissions:
actions: write
steps:
- name: Delete stale workflow runs
uses: Mattraks/[email protected]
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 28
keep_minimum_runs: 25
- name: Delete unused workflows
uses: otto-de/[email protected]
with:
token: ${{ github.token }}
link_checker:
name: Link checker
runs-on: ubuntu-22.04
steps:
- name: Checkout markdown
uses: actions/[email protected]
- name: Link Checker
uses: lycheeverse/[email protected]
with:
args: --verbose --no-progress --max-retries 5 '**/*.md' '*.md'
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}