github.com/iter8-tools/iter8@v1.1.2/.github/workflows/linkcheck.yaml (about) 1 name: Link checker 2 3 # Only runs when there are markdown changes and intermittently 4 5 # Check links across markdown files 6 7 on: 8 pull_request: 9 branches: 10 - master 11 paths: 12 - '**.md' 13 schedule: 14 - cron: "0 0 1 * *" 15 16 # A workflow run is made up of one or more jobs that can run sequentially or in parallel 17 jobs: 18 # This workflow contains a single job called "build" 19 build: 20 # The type of runner that the job will run on 21 runs-on: ubuntu-latest 22 23 # Steps represent a sequence of tasks that will be executed as part of the job 24 steps: 25 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 26 - uses: actions/checkout@v4 27 28 - name: Link checker 29 id: lychee 30 uses: lycheeverse/lychee-action@v1.8.0 31 env: 32 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} 33 with: 34 fail: true 35 args: -v '**/*.md'