From 046891976927fa3488b8d2a0ed843679c52eae32 Mon Sep 17 00:00:00 2001 From: redteampanda-ng <31235211+redteampanda-ng@users.noreply.github.com> Date: Tue, 2 Apr 2024 19:52:23 +0200 Subject: [PATCH] chore: add github workflows for linkcheck --- .github/workflows/pre-checks.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/pre-checks.yml diff --git a/.github/workflows/pre-checks.yml b/.github/workflows/pre-checks.yml new file mode 100644 index 0000000..321ec7b --- /dev/null +++ b/.github/workflows/pre-checks.yml @@ -0,0 +1,25 @@ +# This workflow will install Python dependencies and check for broken links +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Manual Pre Checks + +on: + push: + branches: + - "*" + pull_request: + branches: + - master + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + linkcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: link-check + run: | + pip install -r requirements.txt + make linkcheck +