Merge pull request #12 from OneHillAI/governance-completeness-and-get… #39
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
| # Repo hygiene for the public standard repo (docs only). This is NOT the ASDD review pipeline; | |
| # the reference implementation lives in this repository. This just | |
| # keeps the standard's own prose in the de-slop voice (standards/de-slop.md). | |
| name: docs-lint | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| de-slop: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: false | |
| - name: Workflow YAML parses | |
| run: python3 cli/workflow-lint.py | |
| - name: Doc de-slop gate (standards/de-slop.md voice) | |
| run: | | |
| set -uo pipefail | |
| # Hard-fail on the unambiguous fluff words; de-slop.md is excluded (it names them). | |
| banned='comprehensive|robust|seamless|cutting-edge|state-of-the-art|leverage|utilize|delve' | |
| if grep -rniE "\b($banned)\b" --include='*.md' --exclude='de-slop.md' . ; then | |
| echo "::error::banned fluff word(s) found - see standards/de-slop.md"; exit 1 | |
| fi | |
| soft='\bsimply\b|\beasily\b|\bpowerful\b' | |
| echo "info: soft-fluff occurrences: $(grep -rniE "$soft" --include='*.md' --exclude='de-slop.md' . | wc -l | tr -d ' ')" | |
| echo "doc de-slop gate passed" |