Fix Typefully secret creation: remove empty SecretString #47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate Planning Docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/validate-planning-docs.yml" | |
| - "_docs/**" | |
| - "docs/**" | |
| - "templates/**" | |
| - "content/tasks/templates/**" | |
| - ".goal-v1.md" | |
| - "PROJECT_PLAN.md" | |
| - "PORTAL_ANALYSIS.md" | |
| - "README.md" | |
| - "scripts/validate_planning_docs.py" | |
| - "tools/content_tools/content_tools/doc_registry.py" | |
| - "tools/content_tools/content_tools/validate_docs_links.py" | |
| - "tools/content_tools/content_tools/validate_knowledge_repo.py" | |
| - "tests/planning_docs/**" | |
| - "tests/infra/**" | |
| - "infra/template.full.yaml" | |
| - "infra/template.github-actions-dataops.yaml" | |
| - "infra/template.github-actions.yaml" | |
| - ".github/workflows/deploy-dataops-v1.yml" | |
| - "backend/src/docs/sop/**" | |
| - "backend/scripts/sop.ts" | |
| - "Makefile" | |
| pull_request: | |
| paths: | |
| - ".github/workflows/validate-planning-docs.yml" | |
| - "_docs/**" | |
| - "docs/**" | |
| - "templates/**" | |
| - "content/tasks/templates/**" | |
| - ".goal-v1.md" | |
| - "PROJECT_PLAN.md" | |
| - "PORTAL_ANALYSIS.md" | |
| - "README.md" | |
| - "scripts/validate_planning_docs.py" | |
| - "tools/content_tools/content_tools/doc_registry.py" | |
| - "tools/content_tools/content_tools/validate_docs_links.py" | |
| - "tools/content_tools/content_tools/validate_knowledge_repo.py" | |
| - "tests/planning_docs/**" | |
| - "tests/infra/**" | |
| - "infra/template.full.yaml" | |
| - "infra/template.github-actions-dataops.yaml" | |
| - "infra/template.github-actions.yaml" | |
| - ".github/workflows/deploy-dataops-v1.yml" | |
| - "backend/src/docs/sop/**" | |
| - "backend/scripts/sop.ts" | |
| - "Makefile" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate-planning-docs: | |
| name: Validate planning and process docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v8.1.0 | |
| - name: Install Python | |
| run: uv python install | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install Node dependencies | |
| run: npm ci | |
| - name: Lint marked SOPs via Node CLI | |
| run: | | |
| files=$(grep -rl "schema_version: 1" content --include='*.md' | xargs grep -l "^doc_type: sop$" | tr '\n' ' ') | |
| if [ -z "$(echo "$files" | tr -d '[:space:]')" ]; then echo 'No marked SOP files found' >&2; exit 1; fi | |
| make sop-lint FILES="$files" | |
| - name: Run planning docs validation | |
| run: uv run --with pytest python -m pytest tests/planning_docs | |
| - name: Run infra template validation | |
| run: uv run --with pytest python -m pytest tests/infra | |
| - name: Validate dataops-knowledge migration scaffold | |
| run: uv run --project tools/content_tools python -m content_tools.validate_knowledge_repo --repo-root . --scaffold-root templates/dataops-knowledge | |
| - name: Validate docs links and workflow doc IDs | |
| run: uv run --project tools/content_tools python -m content_tools.validate_docs_links --repo-root . --content-root content |