Skip to content

feat(signals): consolidate impact goals into follow-up checks #60241

feat(signals): consolidate impact goals into follow-up checks

feat(signals): consolidate impact goals into follow-up checks #60241

name: Lint workflows
on:
pull_request:
paths:
- .depot/workflows/ci-backend.yml
- .github/workflows/**
- .github/actions/**
- services/**
- tools/hogli-commands/hogli_commands/workflow_lint/**
- tools/workflow-plan/**
- hogli.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
lint-workflows:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version-file: 'pyproject.toml'
- name: Install uv
uses: ./.github/actions/setup-uv
- name: Install python dependencies
run: UV_PROJECT_ENVIRONMENT=$pythonLocation uv sync --frozen --dev
- name: Lint workflows
run: ./bin/hogli lint:workflows
workflow-run-plans:
name: Workflow run plans
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
sparse-checkout: |
.depot/workflows/ci-backend*.yml
.github
tools/workflow-plan
patches
.nvmrc
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
sparse-checkout-cone-mode: false
- uses: ./.github/actions/pnpm-install
with:
install-command: pnpm install --frozen-lockfile --filter @posthog/workflow-plan
- name: Check job and step conditions against the pinned run plans
run: pnpm --filter @posthog/workflow-plan test