From 5deef28b7adabe9de0023d4175a9f91333f752c9 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 24 Apr 2026 17:41:04 +0100 Subject: [PATCH] ci: split docs-only push checks --- .github/workflows/ci.yml | 3 +++ .github/workflows/docs.yml | 39 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31d1b2f67fe..b706e495f52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,9 @@ name: CI on: push: branches: [main] + paths-ignore: + - "**/*.md" + - "docs/**" pull_request: types: [opened, reopened, synchronize, ready_for_review, converted_to_draft] diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000000..b3e6e0f3214 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,39 @@ +name: Docs + +on: + push: + branches: [main] + paths: + - "**/*.md" + - "docs/**" + +permissions: + contents: read + +concurrency: + group: ${{ format('{0}-{1}', github.workflow, github.ref) }} + cancel-in-progress: true + +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" + +jobs: + docs: + runs-on: ubuntu-24.04 + timeout-minutes: 20 + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + fetch-depth: 1 + fetch-tags: false + persist-credentials: false + submodules: false + + - name: Setup Node environment + uses: ./.github/actions/setup-node-env + with: + install-bun: "false" + + - name: Check docs + run: pnpm check:docs