Skip to content

docs(ha-k8s): ServiceMonitor TLS for direct scraping #22

docs(ha-k8s): ServiceMonitor TLS for direct scraping

docs(ha-k8s): ServiceMonitor TLS for direct scraping #22

Workflow file for this run

name: Docs checks
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
links-and-sidebar:
name: Links, redirects and sidebar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: node scripts/check-docs.mjs
examples-and-names:
name: Examples and names
# Only PRs into main: docs on a release branch describe a Memgraph that isn't out yet, so
# their examples are checked when the release branch is merged into main.
if: github.event_name == 'pull_request' && github.base_ref == 'main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
# The pages this PR changes: their Cypher examples run on the latest Memgraph, and the names in them are checked.
- run: python3 scripts/check-examples.py --base HEAD^1
env:
MEMGRAPH_ENTERPRISE_LICENSE: ${{ secrets.MEMGRAPH_ENTERPRISE_LICENSE }}
MEMGRAPH_ORGANIZATION_NAME: ${{ secrets.MEMGRAPH_ORGANIZATION_NAME }}