From 6e1c0a3204e4609233e69771662520f1bfb47b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kr=C3=A1tk=C3=BD?= Date: Thu, 19 Oct 2023 15:55:18 +0200 Subject: [PATCH] Add docs checks to GH workflows: * spellcheck * linkcheck * inclusive-language check --- .github/workflows/automatic-doc-checks.yml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/automatic-doc-checks.yml diff --git a/.github/workflows/automatic-doc-checks.yml b/.github/workflows/automatic-doc-checks.yml new file mode 100644 index 0000000000..cd9b178e69 --- /dev/null +++ b/.github/workflows/automatic-doc-checks.yml @@ -0,0 +1,26 @@ +name: Main Documentation Checks + +on: + pull_request: + paths: + - 'docs/**' + +on: + push: + paths: + - 'docs/**' + +on: + workflow_dispatch: + paths: + - 'docs/**' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + documentation-checks: + uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main + with: + working-directory: 'doc'