Skip to content

WATCHER dataset emission silently disabled when profiles.yml uses dbt Jinja filters #1198

WATCHER dataset emission silently disabled when profiles.yml uses dbt Jinja filters

WATCHER dataset emission silently disabled when profiles.yml uses dbt Jinja filters #1198

Workflow file for this run

name: Build Sphinx documentation
on:
# Run this workflow when documentation sources or this workflow definition change.
push:
branches: [main]
paths:
- "docs/**"
- "cosmos/**"
- ".github/workflows/docs-build.yml"
- "lychee.toml"
pull_request:
branches: [main, 'release-*']
paths:
- "docs/**"
- "cosmos/**"
- ".github/workflows/docs-build.yml"
- "lychee.toml"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.11"
- name: Install documentation dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Build Sphinx documentation
run: sphinx-build -b html docs docs/_build --fail-on-warning --fresh-env
linkcheck:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
persist-credentials: false
- name: Check links in documentation
# Uses the lychee link checker. Behaviour (which hosts to skip, retries,
# accepted status codes for throttling hosts) is configured in the
# repo-root lychee.toml. Fails the job on genuinely broken links.
uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0
with:
args: "--no-progress --config lychee.toml 'docs/**/*.rst'"
fail: true