diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml new file mode 100644 index 0000000..ff5e108 --- /dev/null +++ b/.github/workflows/link-check.yml @@ -0,0 +1,23 @@ +# Workflow for link checking with lychee +name: Link Check Source Files with Lychee + +on: + # Runs on pull requests targeting the dev branch + pull_request: + branches: ["dev"] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + link_check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Link Checker + id: lychee + uses: lycheeverse/lychee-action@v2 + with: + # NOTE: Lychee (and sphinx) encounter issues with SSL certificates for INCF URLs, so use --insecure + args: --verbose --no-progress './content/**/*.md' './content/**/*.html' './content/**/*.rst' --insecure diff --git a/.gitignore b/.gitignore index 5aa10b7..ba899be 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ /public/** .hugo_build.lock /todo.md + +# PyCharm +.idea/