Linting and Formatting #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting and Formatting | |
on: | |
schedule: | |
- cron: "00 18 * * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
cron-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: check links | |
id: lychee | |
uses: lycheeverse/lychee-action@v1 | |
with: | |
# Check all markdown, html and reStructuredText files in repo (default) | |
args: --base . --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' --exclude file:///home/runner/work/acoular/acoular/docs/source/_themes/* | |
fail: true | |
- name: Create Issue From File | |
if: ${{ env.lychee_exit_code != 0 }} | |
uses: peter-evans/create-issue-from-file@v4 | |
with: | |
title: Link Checker Report | |
content-filepath: ./lychee/out.md | |
labels: bug, automated issue |